]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite173fb2646a832b424c80904c306b816760ce477
treecdc52ba9f36956a8d2894d48d77ecc166cb20315
parentcbe0d6e8794f1da6cac1ea3864d2cfaf0bf87c8e
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