summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-05-31 22:59:03 +0200
committerRichard Weinberger <richard@nod.at>2015-05-31 22:59:03 +0200
commit5334cdae407a5778a297a98a75ca61140e37ebfa (patch)
tree8b1c4aaad459fa26fb13b5ef4244d986c831048d /arch/um/include
parent30b11ee9ae23d78de66b9ae315880af17a64ba83 (diff)
downloadop-kernel-dev-5334cdae407a5778a297a98a75ca61140e37ebfa.zip
op-kernel-dev-5334cdae407a5778a297a98a75ca61140e37ebfa.tar.gz
um: Handle tracehook_report_syscall_entry() result
tracehook_report_syscall_entry() is allowed to fail, in case of failure we have to abort the current syscall. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include')
-rw-r--r--arch/um/include/asm/ptrace-generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h
index cb9b3c4..283480a 100644
--- a/arch/um/include/asm/ptrace-generic.h
+++ b/arch/um/include/asm/ptrace-generic.h
@@ -37,7 +37,7 @@ extern int putreg(struct task_struct *child, int regno, unsigned long value);
extern int arch_copy_tls(struct task_struct *new);
extern void clear_flushed_tls(struct task_struct *task);
-extern void syscall_trace_enter(struct pt_regs *regs);
+extern int syscall_trace_enter(struct pt_regs *regs);
extern void syscall_trace_leave(struct pt_regs *regs);
#endif
OpenPOWER on IntegriCloud