]> 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)
commit46617d5a7fc0e0eda6b54715083780bda5087219
treecdc52ba9f36956a8d2894d48d77ecc166cb20315
parent4d62ca942a5c3a45d41c34727dd4366a8865814d
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