All of lore.kernel.org
 help / color / mirror / Atom feed
* There are several file_contexts that users might want to set in order to share data.
@ 2005-01-07 21:45 Daniel J Walsh
  0 siblings, 0 replies; only message in thread
From: Daniel J Walsh @ 2005-01-07 21:45 UTC (permalink / raw)
  To: SELinux

I have added a configurable attribute (Need a better name).  So the 
policy writer could identify these files.

type httpd_sys_content_t, file_type,  httpdcontent, sysadmfile, 
configurable;
type httpd_sys_script_exec_t, file_type, sysadmfile, configurable;
type httpd_sys_script_ro_t, file_type, httpdcontent, sysadmfile, 
configurable;
type httpd_sys_script_rw_t, file_type, httpdcontent, sysadmfile, 
configurable;
type httpd_sys_script_ra_t, file_type, httpdcontent, sysadmfile, 
configurable;
type ftpd_anon_t, file_type, sysadmfile, configurable;
type samba_share_t, file_type, sysadmfile, configurable;

Then we could have something extract the fields out of policy and some 
how get this info to the users.
The question comes up since someone is starting to use samba to share 
files and they did not know what to set the data too.
The people documenting it would have no way of knowing without studying 
the policy. 

Ideas???

Maybe if we added this flag we could have setfiles/restorecon look at it 
and not change any files that have these context.  I know we already 
discussed this.

--
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] only message in thread

only message in thread, other threads:[~2005-01-07 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 21:45 There are several file_contexts that users might want to set in order to share data 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.