diff options
author | Richard Weinberger <richard@nod.at> | 2015-05-31 22:59:03 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-05-31 22:59:03 +0200 |
commit | 5334cdae407a5778a297a98a75ca61140e37ebfa (patch) | |
tree | 8b1c4aaad459fa26fb13b5ef4244d986c831048d /arch/um/include/asm/ptrace-generic.h | |
parent | 30b11ee9ae23d78de66b9ae315880af17a64ba83 (diff) |
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/asm/ptrace-generic.h')
-rw-r--r-- | arch/um/include/asm/ptrace-generic.h | 2 |
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 cb9b3c47ca8e..283480a7ad23 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 |