Customizable types
What is the purpose of customizable types? In particular, it is not clear to me why the semantics are "don't relabel from a customizable type" rather than "don't relabel to a customizable type".
Secondly, so far as I can see types are only marked as customizable when built into the base module. Is this intentional?
Best wishes,
Signature · 6 lines
Martin Orr -- 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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Martin Orr
What is the purpose of customizable types? In particular, it is not clear to me why the semantics are "don't relabel from a customizable type" rather than "don't relabel to a customizable type".
Secondly, so far as I can see types are only marked as customizable when built into the base module. Is this intentional?
Best wishes,
customizable_types was an old concept that we do not even implement in Fedora any longer. The customizable_types file is empty. The idea was that users would choose a directory to share files via http and they would label it httpd_sys_content_t, later a autorelabel would be triggered and the files would get relabeled. constomizable_types entries would not get relabelled. The problem with this is that it did not scale and mislabeled files would never get fixed if they were customizable_types. With the introduction of semanage fcontext it became fairly easy for the administrator to customize the labeling of the file system and eliminated the need for customizable types.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkl0kEEACgkQrlYvE4MpobOdbQCdF8upX4NiBR+6OHMkSH7D9k9T 7i4AoNmrNgVco6zB3InlU/HNuQsGPsHw
=RhCh
-----END PGP SIGNATURE-----
--
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.