All of lore.kernel.org
 help / color / mirror / Atom feed
* How does matchpathcon/setfiles work?
@ 2014-06-01 15:19 dE
  2014-06-02  6:42 ` Sven Vermeulen
  0 siblings, 1 reply; 5+ messages in thread
From: dE @ 2014-06-01 15:19 UTC (permalink / raw)
  To: selinux

As we know, policies don't contain paths. So the working of 
matchpathcon/setfiles must be based on common sense.

It looks like it knows certain special folders and it's appropriate 
security context, for e.g. home folder contents should have files with 
user_home_t and suggests the correct SELinux user for the 
files/directories based on which user's home folder is it.

Other directories/files should have the same security context as the 
parent directory, like with /opt.

Is this correct?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-02 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01 15:19 How does matchpathcon/setfiles work? dE
2014-06-02  6:42 ` Sven Vermeulen
2014-06-02  9:57   ` dE
2014-06-02 13:20     ` Stephen Smalley
2014-06-02 18:25       ` dE

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.