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 files153
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- trace/
- vdso32/
- vdso64/
- .gitignore
- Makefile
- align.c
- asm-offsets.c
- audit.c
- btext.c
- cacheinfo.c
- cacheinfo.h
- compat_audit.c
- cpu_setup_44x.S
- cpu_setup_6xx.S
- cpu_setup_fsl_booke.S
- cpu_setup_pa6t.S
- cpu_setup_power.S
- cpu_setup_ppc970.S
- cputable.c
- crash.c
- crash_dump.c
- dbell.c
- dma-iommu.c
- dma-swiotlb.c
- dma.c
- dt_cpu_ftrs.c
- eeh.c
- eeh_cache.c
- eeh_dev.c
- eeh_driver.c
- eeh_event.c
- eeh_pe.c
- eeh_sysfs.c
- entry_32.S
- entry_64.S
- epapr_hcalls.S
- epapr_paravirt.c
- exceptions-64e.S
- exceptions-64s.S
- fadump.c
- firmware.c
- fpu.S
- fsl_booke_entry_mapping.S
- head_32.S
- head_40x.S
- head_44x.S
- head_64.S
- head_8xx.S
- head_booke.h
- head_fsl_booke.S
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/powerpc/kernel/ppc32.h
Text · 1,793 bytes#ifndef _PPC64_PPC32_H
#define _PPC64_PPC32_H
#include <linux/compat.h>
#include <asm/siginfo.h>
#include <asm/signal.h>
/*
* Data types and macros for providing 32b PowerPC support.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
/* These are here to support 32-bit syscalls on a 64-bit kernel. */
struct pt_regs32 {
unsigned int gpr[32];
unsigned int nip;
unsigned int msr;
unsigned int orig_gpr3; /* Used for restarting system calls */
unsigned int ctr;
unsigned int link;
unsigned int xer;
unsigned int ccr;
unsigned int mq; /* 601 only (not used at present) */
unsigned int trap; /* Reason for being here */
unsigned int dar; /* Fault registers */
unsigned int dsisr;
unsigned int result; /* Result of a system call */
};
struct sigcontext32 {
unsigned int _unused[4];
int signal;
compat_uptr_t handler;
unsigned int oldmask;
compat_uptr_t regs; /* 4 byte pointer to the pt_regs32 structure. */
};
struct mcontext32 {
elf_gregset_t32 mc_gregs;
elf_fpregset_t mc_fregs;
unsigned int mc_pad[2];
elf_vrregset_t32 mc_vregs __attribute__((__aligned__(16)));
elf_vsrreghalf_t32 mc_vsregs __attribute__((__aligned__(16)));
};
struct ucontext32 {
unsigned int uc_flags;
unsigned int uc_link;
compat_stack_t uc_stack;
int uc_pad[7];
compat_uptr_t uc_regs; /* points to uc_mcontext field */
compat_sigset_t uc_sigmask; /* mask last for extensibility */
/* glibc has 1024-bit signal masks, ours are 64-bit */
int uc_maskext[30];
int uc_pad2[3];
struct mcontext32 uc_mcontext;
};
#endif /* _PPC64_PPC32_H */