Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files65
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- chan.h
- chan_kern.c
- chan_user.c
- chan_user.h
- cow.h
- cow_sys.h
- cow_user.c
- daemon.h
- daemon_kern.c
- daemon_user.c
- fd.c
- harddog_kern.c
- harddog_user.c
- hostaudio_kern.c
- line.c
- line.h
- mconsole.h
- mconsole_kern.c
- mconsole_kern.h
- mconsole_user.c
- mmapper_kern.c
- net_kern.c
- net_user.c
- null.c
- pcap_kern.c
- pcap_user.c
- pcap_user.h
- port.h
- port_kern.c
- port_user.c
- pty.c
- random.c
- slip.h
- slip_common.c
- slip_common.h
- slip_kern.c
- slip_user.c
- slirp.h
- slirp_kern.c
- slirp_user.c
- ssl.c
- ssl.h
- stderr_console.c
- stdio_console.c
- stdio_console.h
- tty.c
- ubd.h
- ubd_kern.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/um/drivers/slirp.h
Text · 825 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __UM_SLIRP_H
#define __UM_SLIRP_H
#include "slip_common.h"
#define SLIRP_MAX_ARGS 100
/*
* XXX this next definition is here because I don't understand why this
* initializer doesn't work in slirp_kern.c:
*
* argv : { init->argv[ 0 ... SLIRP_MAX_ARGS-1 ] },
*
* or why I can't typecast like this:
*
* argv : (char* [SLIRP_MAX_ARGS])(init->argv),
*/
struct arg_list_dummy_wrapper { char *argv[SLIRP_MAX_ARGS]; };
struct slirp_data {
void *dev;
struct arg_list_dummy_wrapper argw;
int pid;
int slave;
struct slip_proto slip;
};
extern const struct net_user_info slirp_user_info;
extern int slirp_user_read(int fd, void *buf, int len, struct slirp_data *pri);
extern int slirp_user_write(int fd, void *buf, int len,
struct slirp_data *pri);
#endif