Re: [PATCH] selinux: shorten the policy capability enum names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 1, 2022 at 12:54 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxxx>
> ---
>  security/selinux/ima.c                     |    4 ++--
>  security/selinux/include/policycap.h       |   22 +++++++++++-----------
>  security/selinux/include/policycap_names.h |    2 +-
>  security/selinux/include/security.h        |   18 +++++++++---------
>  security/selinux/selinuxfs.c               |    2 +-
>  5 files changed, 24 insertions(+), 24 deletions(-)

Merged into selinux/next.

-- 
paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux