SELINUXTYPE #424
-
/etc/selinux/config says:
But am I right that SELINUXTYPE is just a arbitrary name for used policy? The reason why I ask is that "can take one of these three values" sounds like these would be configuration flags rather than just names of the used policy (path /etc/selinux/[name of the policy]). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
By the way, why you have named this SELINUXTYPE? What makes the name of used policy a type? |
Beta Was this translation helpful? Give feedback.
-
I guess it's called SELINUXTYPE based on historic reasons, see "2) Reference Policy Build Options (build.conf)" in refpolicy - https://github.com/SELinuxProject/refpolicy/blob/main/README
You are right that SELINUXTYPE is a name for used policy and can be set to whatever you use on your system, e.g. if you build refpolicy using NAME=local, it would be installed in /etc/selinux/local and use /var/selinux/local and you would set it setting SELINUXTYPE=local Btw official communication channel should be [email protected] mailing list. You can subscribe by sending "subscribe selinux" in the body of an email to [email protected]. Archives of the mailing list are available at https://lore.kernel.org/selinux. I'm not sure why these discussions are enabled. |
Beta Was this translation helpful? Give feedback.
I guess it's called SELINUXTYPE based on historic reasons, see "2) Reference Policy Build Options (build.conf)" in refpolicy - https://github.com/SELinuxProject/refpolicy/blob/main/README
You are right that SELINUXTYPE is a name for used…