Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files51
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- agp/
- hw_random/
- ipmi/
- mwave/
- pcmcia/
- tpm/
- xilinx_hwicap/
- xillybus/
- Kconfig
- Makefile
- adi.c
- apm-emulation.c
- applicom.c
- applicom.h
- bsr.c
- ds1620.c
- dsp56k.c
- dtlk.c
- efirtc.c
- generic_nvram.c
- hangcheck-timer.c
- hpet.c
- lp.c
- mbcs.c
- mbcs.h
- mem.c
- misc.c
- mspec.c
- nsc_gpio.c
- nvram.c
- nwbutton.c
- nwbutton.h
- nwflash.c
- pc8736x_gpio.c
- powernv-op-panel.c
- ppdev.c
- ps3flash.c
- random.c
- raw.c
- rtc.c
- scx200_gpio.c
- snsc.c
- snsc.h
- snsc_event.c
- sonypi.c
- tb0219.c
- tlclk.c
- toshiba.c
- ttyprintk.c
- uv_mmtimer.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/char/nwbutton.h
Text · 1,194 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NWBUTTON_H
#define __NWBUTTON_H
/*
* NetWinder Button Driver-
* Copyright (C) Alex Holden <[email protected]> 1998, 1999.
*/
#ifdef __NWBUTTON_C /* Actually compiling the driver itself */
/* Various defines: */
#define NUM_PRESSES_REBOOT 2 /* How many presses to activate shutdown */
#define BUTTON_DELAY 30 /* How many jiffies for sequence to end */
#define VERSION "0.3" /* Driver version number */
#define BUTTON_MINOR 158 /* Major 10, Minor 158, /dev/nwbutton */
/* Structure definitions: */
struct button_callback {
void (*callback) (void);
int count;
};
/* Function prototypes: */
static void button_sequence_finished(struct timer_list *unused);
static irqreturn_t button_handler (int irq, void *dev_id);
int button_init (void);
int button_add_callback (void (*callback) (void), int count);
int button_del_callback (void (*callback) (void));
static void button_consume_callbacks (int bpcount);
#else /* Not compiling the driver itself */
extern int button_add_callback (void (*callback) (void), int count);
extern int button_del_callback (void (*callback) (void));
#endif /* __NWBUTTON_C */
#endif /* __NWBUTTON_H */