diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-30 03:23:36 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-05-01 12:06:18 +0200 |
commit | 5411be59db80333039386f3b1ccfe5eb9023a916 (patch) | |
tree | 77873af4b7557768c3c48b56e7ae4508be4a70a5 /arch/sparc64 | |
parent | [PATCH] drop gfp_mask in audit_log_exit() (diff) | |
download | linux-5411be59db80333039386f3b1ccfe5eb9023a916.tar.xz linux-5411be59db80333039386f3b1ccfe5eb9023a916.zip |
[PATCH] drop task argument of audit_syscall_{entry,exit}
... it's always current, and that's a good thing - allows simpler locking.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/ptrace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/ptrace.c b/arch/sparc64/kernel/ptrace.c index 49e6dedd027d..d31975e6d6f6 100644 --- a/arch/sparc64/kernel/ptrace.c +++ b/arch/sparc64/kernel/ptrace.c @@ -653,7 +653,7 @@ asmlinkage void syscall_trace(struct pt_regs *regs, int syscall_exit_p) if (unlikely(tstate & (TSTATE_XCARRY | TSTATE_ICARRY))) result = AUDITSC_FAILURE; - audit_syscall_exit(current, result, regs->u_regs[UREG_I0]); + audit_syscall_exit(result, regs->u_regs[UREG_I0]); } if (!(current->ptrace & PT_PTRACED)) @@ -677,8 +677,7 @@ asmlinkage void syscall_trace(struct pt_regs *regs, int syscall_exit_p) out: if (unlikely(current->audit_context) && !syscall_exit_p) - audit_syscall_entry(current, - (test_thread_flag(TIF_32BIT) ? + audit_syscall_entry((test_thread_flag(TIF_32BIT) ? AUDIT_ARCH_SPARC : AUDIT_ARCH_SPARC64), regs->u_regs[UREG_G1], |