diff options
Diffstat (limited to 'arch/mips/kernel/ptrace.c')
-rw-r--r-- | arch/mips/kernel/ptrace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 4e6ea1ffad46..ab0f1963a7bd 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c | |||
@@ -572,9 +572,7 @@ out: | |||
572 | */ | 572 | */ |
573 | asmlinkage void syscall_trace_leave(struct pt_regs *regs) | 573 | asmlinkage void syscall_trace_leave(struct pt_regs *regs) |
574 | { | 574 | { |
575 | if (unlikely(current->audit_context)) | 575 | audit_syscall_exit(regs); |
576 | audit_syscall_exit(AUDITSC_RESULT(regs->regs[7]), | ||
577 | -regs->regs[2]); | ||
578 | 576 | ||
579 | if (!(current->ptrace & PT_PTRACED)) | 577 | if (!(current->ptrace & PT_PTRACED)) |
580 | return; | 578 | return; |