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 files154
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- .gitignore
- Makefile
- adi_64.c
- apc.c
- asm-offsets.c
- audit.c
- auxio_32.c
- auxio_64.c
- btext.c
- central.c
- cherrs.S
- chmc.c
- compat_audit.c
- cpu.c
- cpumap.c
- cpumap.h
- devices.c
- ds.c
- dtlb_miss.S
- dtlb_prot.S
- ebus.c
- entry.S
- entry.h
- etrap_32.S
- etrap_64.S
- fpu_traps.S
- ftrace.c
- getsetcc.S
- head_32.S
- head_64.S
- helpers.S
- hvapi.c
- hvcalls.S
- hvtramp.S
- idprom.c
- iommu-common.c
- iommu.c
- iommu_common.h
- ioport.c
- irq.h
- irq_32.c
- irq_64.c
- itlb_miss.S
- ivec.S
- jump_label.c
- kernel.h
- kgdb_32.c
- kgdb_64.c
- kprobes.c
- kstack.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/sparc/kernel/of_device_common.h
Text · 1,127 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _OF_DEVICE_COMMON_H
#define _OF_DEVICE_COMMON_H
static inline u64 of_read_addr(const u32 *cell, int size)
{
u64 r = 0;
while (size--)
r = (r << 32) | *(cell++);
return r;
}
void of_bus_default_count_cells(struct device_node *dev, int *addrc,
int *sizec);
int of_out_of_range(const u32 *addr, const u32 *base,
const u32 *size, int na, int ns);
int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna);
unsigned long of_bus_default_get_flags(const u32 *addr, unsigned long flags);
int of_bus_sbus_match(struct device_node *np);
void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec);
/* Max address size we deal with */
#define OF_MAX_ADDR_CELLS 4
struct of_bus {
const char *name;
const char *addr_prop_name;
int (*match)(struct device_node *parent);
void (*count_cells)(struct device_node *child,
int *addrc, int *sizec);
int (*map)(u32 *addr, const u32 *range,
int na, int ns, int pna);
unsigned long (*get_flags)(const u32 *addr, unsigned long);
};
#endif /* _OF_DEVICE_COMMON_H */