* Customizable types
@ 2009-01-16 23:11 Martin Orr
2009-01-19 14:37 ` Daniel J Walsh
0 siblings, 1 reply; 2+ messages in thread
From: Martin Orr @ 2009-01-16 23:11 UTC (permalink / raw)
To: SELinux List
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,
--
Martin Orr
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Customizable types
2009-01-16 23:11 Customizable types Martin Orr
@ 2009-01-19 14:37 ` Daniel J Walsh
0 siblings, 0 replies; 2+ messages in thread
From: Daniel J Walsh @ 2009-01-19 14:37 UTC (permalink / raw)
To: Martin Orr; +Cc: SELinux List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Orr wrote:
> 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-19 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 23:11 Customizable types Martin Orr
2009-01-19 14:37 ` Daniel J Walsh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.