fix oops in __audit_signal_info()
commit8adcb4c72176a326b61bbc0a7924d869e52cb116
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 7 Aug 2007 23:01:46 +0000 (8 00:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 15 Aug 2007 16:25:08 +0000 (15 09:25 -0700)
tree294eb9cd3e3ade6d245bc134dd5a01d1e2d26993
parent0565dc16555165fbca080c2121bec74ec79f1fc5
fix oops in __audit_signal_info()

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 <viro@zeniv.linux.org.uk>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/auditsc.c