]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: drop unused socket security classes
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 11 Jan 2017 21:33:54 +0000 (16:33 -0500)
committerPaul Moore <paul@paul-moore.com>
Thu, 12 Jan 2017 16:10:24 +0000 (11:10 -0500)
commit21be959e2bfb5e49a9c2e685a844f2fb9173fa8c
tree4bfa2351efd78ca32f2b6706b08f947f29e47d1f
parent6341f9f2723b015d5f3537261d662898b61a3e39
selinux: drop unused socket security classes

Several of the extended socket classes introduced by
commit a9cb0dd6d4ce3d29 ("selinux: support distinctions
among all network address families") are never used because
sockets can never be created with the associated address family.
Remove these unused socket security classes.  The removed classes
are bridge_socket for PF_BRIDGE, ib_socket for PF_IB, and mpls_socket
for PF_MPLS.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c
security/selinux/include/classmap.h