diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-02 00:43:05 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-02 00:43:05 -0400 | 
| commit | 532f57da408c5a5710075d17047e2d97bdfd22f3 (patch) | |
| tree | 3fb378bea1816f637aeeed0df805d0c30969cfc3 /arch/powerpc/kernel/ptrace.c | |
| parent | 46c5ea3c9ae7fbc6e52a13c92e59d4fc7f4ca80a (diff) | |
| parent | 2ad312d2093ae506ae0fa184d8d026b559083087 (diff) | |
Merge branch 'audit.b10' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current
* 'audit.b10' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current:
  [PATCH] Audit Filter Performance
  [PATCH] Rework of IPC auditing
  [PATCH] More user space subject labels
  [PATCH] Reworked patch for labels on user space messages
  [PATCH] change lspp ipc auditing
  [PATCH] audit inode patch
  [PATCH] support for context based audit filtering, part 2
  [PATCH] support for context based audit filtering
  [PATCH] no need to wank with task_lock() and pinning task down in audit_syscall_exit()
  [PATCH] drop task argument of audit_syscall_{entry,exit}
  [PATCH] drop gfp_mask in audit_log_exit()
  [PATCH] move call of audit_free() into do_exit()
  [PATCH] sockaddr patch
  [PATCH] deal with deadlocks in audit_free()
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
| -rw-r--r-- | arch/powerpc/kernel/ptrace.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index bcb83574335b..4a677d1bd4ef 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c  | |||
| @@ -538,7 +538,7 @@ void do_syscall_trace_enter(struct pt_regs *regs) | |||
| 538 | do_syscall_trace(); | 538 | do_syscall_trace(); | 
| 539 | 539 | ||
| 540 | if (unlikely(current->audit_context)) | 540 | if (unlikely(current->audit_context)) | 
| 541 | audit_syscall_entry(current, | 541 | audit_syscall_entry( | 
| 542 | #ifdef CONFIG_PPC32 | 542 | #ifdef CONFIG_PPC32 | 
| 543 | AUDIT_ARCH_PPC, | 543 | AUDIT_ARCH_PPC, | 
| 544 | #else | 544 | #else | 
| @@ -556,8 +556,7 @@ void do_syscall_trace_leave(struct pt_regs *regs) | |||
| 556 | #endif | 556 | #endif | 
| 557 | 557 | ||
| 558 | if (unlikely(current->audit_context)) | 558 | if (unlikely(current->audit_context)) | 
| 559 | audit_syscall_exit(current, | 559 | audit_syscall_exit((regs->ccr&0x1000)?AUDITSC_FAILURE:AUDITSC_SUCCESS, | 
| 560 | (regs->ccr&0x1000)?AUDITSC_FAILURE:AUDITSC_SUCCESS, | ||
| 561 | regs->result); | 560 | regs->result); | 
| 562 | 561 | ||
| 563 | if ((test_thread_flag(TIF_SYSCALL_TRACE) | 562 | if ((test_thread_flag(TIF_SYSCALL_TRACE) | 
