Re: [PATCH] fix oops in __audit_signal_info()

2007-08-07 Thread James Morris
On Wed, 8 Aug 2007, Al Viro wrote: > Check for audit_signals is misplaced and check for > audit_dummy_context() is missing; as the result, if we send > signal to auditd from task with NULL ->audit_context while > we have audit_signals != 0 we end up with an oops. > > Signed-off-by: Al Viro

[PATCH] fix oops in __audit_signal_info()

2007-08-07 Thread Al Viro
Check for audit_signals is misplaced and check for audit_dummy_context() is missing; as the result, if we send signal to auditd from task with NULL ->audit_context while we have audit_signals != 0 we end up with an oops. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/kernel/au