Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files91
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kbuild
- agp.h
- asm-offsets.h
- asmregs.h
- assembly.h
- atomic.h
- barrier.h
- bitops.h
- bug.h
- bugs.h
- cache.h
- cacheflush.h
- checksum.h
- cmpxchg.h
- compat.h
- compat_ucontext.h
- delay.h
- dma-mapping.h
- dma.h
- dwarf.h
- eisa_bus.h
- eisa_eeprom.h
- elf.h
- fb.h
- fixmap.h
- floppy.h
- ftrace.h
- futex.h
- grfioctl.h
- hardirq.h
- hardware.h
- hash.h
- hugetlb.h
- ide.h
- io.h
- irq.h
- irqflags.h
- kbdleds.h
- kmap_types.h
- ldcw.h
- led.h
- linkage.h
- machdep.h
- mckinley.h
- mmu.h
- mmu_context.h
- mmzone.h
- module.h
- page.h
- parisc-device.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/parisc/include/asm/ptrace.h
Text · 1,183 bytes/* SPDX-License-Identifier: GPL-2.0 */
/* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg
** Copyright (C) 2000 Grant Grundler, Hewlett-Packard
*/
#ifndef _PARISC_PTRACE_H
#define _PARISC_PTRACE_H
#include <uapi/asm/ptrace.h>
#define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS))
#define arch_has_single_step() 1
#define arch_has_block_step() 1
/* XXX should we use iaoq[1] or iaoq[0] ? */
#define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0)
#define user_space(regs) (((regs)->iasq[1] != 0) ? 1 : 0)
#define instruction_pointer(regs) ((regs)->iaoq[0] & ~3)
#define user_stack_pointer(regs) ((regs)->gr[30])
unsigned long profile_pc(struct pt_regs *);
static inline unsigned long regs_return_value(struct pt_regs *regs)
{
return regs->gr[28];
}
static inline void instruction_pointer_set(struct pt_regs *regs,
unsigned long val)
{
regs->iaoq[0] = val;
regs->iaoq[1] = val + 4;
}
/* Query offset/name of register from its name/offset */
extern int regs_query_register_offset(const char *name);
extern const char *regs_query_register_name(unsigned int offset);
#define MAX_REG_OFFSET (offsetof(struct pt_regs, ipsw))
#endif