Adding more NSCD constants
How hard is it to add more constants to av_permissions.h? This file says "automatically generated" but I'm not sure what it's generated from.
If we add another NSCD cache (which is the plan... for the selinux_users nss service), then we need more constants for NSCD.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Ivan Gyurdiev
How hard is it to add more constants to
av_permissions.h? This file says "automatically generated" but I'm not sure what it's generated from.If we add another NSCD cache (which is the plan... for the
selinux_usersnss service), then we need more constants for NSCD.
Not sure that this is still relevant, but the method for adding such definitions is to modify policy/flask/access_vectors, run make in policy/flask, and then copy over the generated headers to libselinux and (if they are needed) to the SELinux kernel module.
Tresys has plans to migrate at least the userspace class/permission definitions to a runtime registration via the userspace security server rather than being fixed constants.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.