Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files39
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- altera_ps2.c
- ambakmi.c
- ams_delta_serio.c
- apbps2.c
- arc_ps2.c
- ct82c710.c
- gscps2.c
- hil_mlc.c
- hp_sdc.c
- hp_sdc_mlc.c
- hyperv-keyboard.c
- i8042-io.h
- i8042-ip22io.h
- i8042-jazzio.h
- i8042-ppcio.h
- i8042-snirm.h
- i8042-sparcio.h
- i8042-unicore32io.h
- i8042-x86ia64io.h
- i8042.c
- i8042.h
- libps2.c
- maceps2.c
- olpc_apsp.c
- parkbd.c
- pcips2.c
- ps2-gpio.c
- ps2mult.c
- q40kbd.c
- rpckbd.c
- sa1111ps2.c
- serio.c
- serio_raw.c
- serport.c
- sun4i-ps2.c
- userio.c
- xilinx_ps2.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/input/serio/i8042-ip22io.h
Text · 1,477 bytes#ifndef _I8042_IP22_H
#define _I8042_IP22_H
#include <asm/sgi/ioc.h>
#include <asm/sgi/ip22.h>
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
/*
* Names.
*/
#define I8042_KBD_PHYS_DESC "hpc3ps2/serio0"
#define I8042_AUX_PHYS_DESC "hpc3ps2/serio1"
#define I8042_MUX_PHYS_DESC "hpc3ps2/serio%d"
/*
* IRQs.
*/
#define I8042_KBD_IRQ SGI_KEYBD_IRQ
#define I8042_AUX_IRQ SGI_KEYBD_IRQ
/*
* Register numbers.
*/
#define I8042_COMMAND_REG ((unsigned long)&sgioc->kbdmouse.command)
#define I8042_STATUS_REG ((unsigned long)&sgioc->kbdmouse.command)
#define I8042_DATA_REG ((unsigned long)&sgioc->kbdmouse.data)
static inline int i8042_read_data(void)
{
return sgioc->kbdmouse.data;
}
static inline int i8042_read_status(void)
{
return sgioc->kbdmouse.command;
}
static inline void i8042_write_data(int val)
{
sgioc->kbdmouse.data = val;
}
static inline void i8042_write_command(int val)
{
sgioc->kbdmouse.command = val;
}
static inline int i8042_platform_init(void)
{
#if 0
/* XXX sgi_kh is a virtual address */
if (!request_mem_region(sgi_kh, sizeof(struct hpc_keyb), "i8042"))
return -EBUSY;
#endif
i8042_reset = I8042_RESET_ALWAYS;
return 0;
}
static inline void i8042_platform_exit(void)
{
#if 0
release_mem_region(JAZZ_KEYBOARD_ADDRESS, sizeof(struct hpc_keyb));
#endif
}
#endif /* _I8042_IP22_H */