Re: MLS and default file contexts

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

 



On Tue, 2007-12-18 at 10:16 -0600, Ted X Toth wrote:
> As best I can tell the current implementation requires a context to have 
> a level or range to be valid in an fc file. However there a cases where 
> I'd prefer that files be created with a given context but at the level 
> of the creating process. Is there a way to do specify this behavior in 
> an fc file?

The fc files are just to provide install-time defaults for file labels.
Runtime creation of files is governed by policy; in the case of MLS,
this is inherit-from-creator unless a range transition rule is
specified.

So the only real issue is exempting runtime files from a relabel, which
can be done by specifying a <<none>> entry in a fc file, or putting a
"customizable file context" on the file, or excluding that tree from
relabels.

-- 
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 majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

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

  Powered by Linux