[AUDIT] clean up audit_receive_msg()
authorEric Paris <eparis@redhat.com>
Mon, 7 Jan 2008 23:14:19 +0000 (18:14 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:24:39 +0000 (14:24 -0500)
commit50397bd1e471391d27f64efad9271459c913de87
tree2b23b983ebcb9085cbf38c1688ba0c0f28ccfd2f
parent1a6b9f2317f18db768010252c957d99daf40678f
[AUDIT] clean up audit_receive_msg()

generally clean up audit_receive_msg() don't free random memory if
selinux_sid_to_string fails for some reason.  Move generic auditing
to a helper function

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c