]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: cleanup error reporting in selinux_nlmsg_perm()
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 19 Sep 2014 00:50:17 +0000 (20:50 -0400)
committerPaul Moore <pmoore@redhat.com>
Mon, 22 Sep 2014 19:50:08 +0000 (15:50 -0400)
commit9d4321d79436999313e2b55e89fb5c3a7d113739
treecdc52ba9f36956a8d2894d48d77ecc166cb20315
parent69e1d4caeb4cf24aa1a4b7fe091a158279810b38
selinux: cleanup error reporting in selinux_nlmsg_perm()

Convert audit_log() call to WARN_ONCE().

Rename "type=" to nlmsg_type=" to avoid confusion with the audit record
type.

Added "protocol=" to help track down which protocol (NETLINK_AUDIT?) was used
within the netlink protocol family.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[Rewrote the patch subject line]
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/hooks.c