diff options
Diffstat (limited to 'arch/sh/kernel/ptrace_32.c')
-rw-r--r-- | arch/sh/kernel/ptrace_32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c index 2bc72def5cf8..e9bd4b2aa9c2 100644 --- a/arch/sh/kernel/ptrace_32.c +++ b/arch/sh/kernel/ptrace_32.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/signal.h> | 20 | #include <linux/signal.h> |
21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
22 | #include <linux/audit.h> | 22 | #include <linux/audit.h> |
23 | #include <linux/seccomp.h> | ||
23 | #include <asm/uaccess.h> | 24 | #include <asm/uaccess.h> |
24 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
25 | #include <asm/system.h> | 26 | #include <asm/system.h> |
@@ -276,6 +277,8 @@ asmlinkage void do_syscall_trace(struct pt_regs *regs, int entryexit) | |||
276 | { | 277 | { |
277 | struct task_struct *tsk = current; | 278 | struct task_struct *tsk = current; |
278 | 279 | ||
280 | secure_computing(regs->regs[0]); | ||
281 | |||
279 | if (unlikely(current->audit_context) && entryexit) | 282 | if (unlikely(current->audit_context) && entryexit) |
280 | audit_syscall_exit(AUDITSC_RESULT(regs->regs[0]), | 283 | audit_syscall_exit(AUDITSC_RESULT(regs->regs[0]), |
281 | regs->regs[0]); | 284 | regs->regs[0]); |