]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: shorten the policy capability enum names
authorPaul Moore <paul@paul-moore.com>
Tue, 1 Mar 2022 17:39:20 +0000 (12:39 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 2 Mar 2022 16:37:03 +0000 (11:37 -0500)
commit4b8018a64aab014354b43e77f3b30f9324c8d69d
tree779484bf8cd18ab49ec73a481f91b7178d0cb76d
parent51f7492ccbd50b6bf0e774e610e1fff737c7a93f
selinux: shorten the policy capability enum names

The SELinux policy capability enum names are rather long and follow
the "POLICYDB_CAPABILITY_XXX format".  While the "POLICYDB_" prefix
is helpful in tying the enums to other SELinux policy constants,
macros, etc. there is no reason why we need to spell out
"CAPABILITY" completely.  Shorten "CAPABILITY" to "CAP" in order to
make things a bit shorter and cleaner.

Moving forward, the SELinux policy capability enum names should
follow the "POLICYDB_CAP_XXX" format.

Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ima.c
security/selinux/include/policycap.h
security/selinux/include/policycap_names.h
security/selinux/include/security.h
security/selinux/selinuxfs.c