From: Helge Deller Date: Sun, 21 Sep 2014 19:01:15 +0000 (+0200) Subject: parisc: ptrace: use secure_computing_strict() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe5c873459a973e59854bd235a7e6b3eaa8e5fe0;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git parisc: ptrace: use secure_computing_strict() Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index 3bab72462ab5..92438c21d453 100644 --- a/arch/parisc/kernel/ptrace.c +++ b/arch/parisc/kernel/ptrace.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -271,10 +272,7 @@ long do_syscall_trace_enter(struct pt_regs *regs) long ret = 0; /* Do the secure computing check first. */ - if (secure_computing(regs->gr[20])) { - /* seccomp failures shouldn't expose any additional code. */ - return -1; - } + secure_computing_strict(regs->gr[20]); if (test_thread_flag(TIF_SYSCALL_TRACE) && tracehook_report_syscall_entry(regs))