27 #include <linux/kernel.h>
29 #include <linux/sched.h>
30 #include <linux/ptrace.h>
31 #include <linux/signal.h>
32 #include <linux/elf.h>
33 #include <linux/audit.h>
34 #include <linux/seccomp.h>
37 #include <linux/errno.h>
38 #include <asm/processor.h>
40 #include <asm/asm-offsets.h>
41 #include <asm/cacheflush.h>
42 #include <asm/syscall.h>
78 unsigned long addr,
unsigned long data)
81 unsigned long val = 0;
87 pr_debug(
"PEEKUSR/POKEUSR : 0x%08lx\n", addr);
95 val = child->
mm->start_code;
97 val = child->
mm->start_data;
99 val = child->
mm->end_code
100 - child->
mm->start_code;
104 }
else if (addr < PT_SIZE && (addr & 0x3) == 0) {
139 secure_computing_strict(regs->
r12);
142 tracehook_report_syscall_entry(regs))
153 return ret ?: regs->
r12;
160 audit_syscall_exit(regs);
164 tracehook_report_syscall_exit(regs, step);