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 files173
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kbuild
- MC68328.h
- MC68EZ328.h
- MC68VZ328.h
- a.out-core.h
- adb_iop.h
- amigahw.h
- amigaints.h
- amigayle.h
- amipcmcia.h
- apollohw.h
- asm-offsets.h
- asm-prototypes.h
- atafd.h
- atafdreg.h
- atari_joystick.h
- atari_stdma.h
- atari_stram.h
- atarihw.h
- atariints.h
- atarikb.h
- atomic.h
- bitops.h
- blinken.h
- bootinfo.h
- bootstd.h
- bug.h
- bugs.h
- bvme6000hw.h
- cache.h
- cacheflush.h
- cacheflush_mm.h
- cacheflush_no.h
- checksum.h
- cmpxchg.h
- coldfire.h
- contregs.h
- current.h
- delay.h
- div64.h
- dma.h
- dsp56k.h
- dvma.h
- elf.h
- entry.h
- export.h
- fb.h
- fbio.h
- flat.h
- floppy.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/m68k/include/asm/flat.h
Text · 1,044 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* flat.h -- uClinux flat-format executables
*/
#ifndef __M68KNOMMU_FLAT_H__
#define __M68KNOMMU_FLAT_H__
#include <linux/uaccess.h>
#define flat_argvp_envp_on_stack() 1
#define flat_old_ram_flag(flags) (flags)
#define flat_reloc_valid(reloc, size) ((reloc) <= (size))
static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
u32 *addr, u32 *persistent)
{
#ifdef CONFIG_CPU_HAS_NO_UNALIGNED
return copy_from_user(addr, rp, 4) ? -EFAULT : 0;
#else
return get_user(*addr, rp);
#endif
}
static inline int flat_put_addr_at_rp(u32 __user *rp, u32 addr, u32 rel)
{
#ifdef CONFIG_CPU_HAS_NO_UNALIGNED
return copy_to_user(rp, &addr, 4) ? -EFAULT : 0;
#else
return put_user(addr, rp);
#endif
}
#define flat_get_relocate_addr(rel) (rel)
static inline int flat_set_persistent(u32 relval, u32 *persistent)
{
return 0;
}
#define FLAT_PLAT_INIT(regs) \
do { \
if (current->mm) \
(regs)->d5 = current->mm->start_data; \
} while (0)
#endif /* __M68KNOMMU_FLAT_H__ */