summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/ptrace.h
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-01-22 15:40:01 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-03-26 23:09:08 +0100
commit1225eb825208b529fd4c01d07faf9db48e68cd33 (patch)
tree8e26b62ebc5a42479be4c5ae4f73b2eaf262ca57 /arch/mips/include/asm/ptrace.h
parentMIPS: asm: thread_info: Add _TIF_SECCOMP flag (diff)
downloadlinux-1225eb825208b529fd4c01d07faf9db48e68cd33.tar.xz
linux-1225eb825208b529fd4c01d07faf9db48e68cd33.zip
MIPS: ptrace: Move away from secure_computing_strict
MIPS now has the infrastructure for dynamic seccomp-bpf filtering Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Reviewed-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6400/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/ptrace.h')
-rw-r--r--arch/mips/include/asm/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h
index 7bba9da110af..84257dfa3b60 100644
--- a/arch/mips/include/asm/ptrace.h
+++ b/arch/mips/include/asm/ptrace.h
@@ -82,7 +82,7 @@ static inline long regs_return_value(struct pt_regs *regs)
#define instruction_pointer(regs) ((regs)->cp0_epc)
#define profile_pc(regs) instruction_pointer(regs)
-extern asmlinkage void syscall_trace_enter(struct pt_regs *regs);
+extern asmlinkage long syscall_trace_enter(struct pt_regs *regs);
extern asmlinkage void syscall_trace_leave(struct pt_regs *regs);
extern void die(const char *, struct pt_regs *) __noreturn;