* [RFC] 4/4 - Hierarchal apache policy for reference policy (policy contexts)
@ 2007-01-18 16:32 Joshua Brindle
0 siblings, 0 replies; only message in thread
From: Joshua Brindle @ 2007-01-18 16:32 UTC (permalink / raw)
To: SE Linux; +Cc: Stephen Smalley
Below is the policy contexts for labeling apache policy types.
Note that roles are essentially hardcoded here. We need a
genhomedircon-like application to generate per-role contexts for more
than just home directories. I can envision more user object managers
having the need for per-role contexts (DBUS, for example, does) so we
should probably come up with a general way of generating these. We
haven't thought it through fully though, comments are welcome.
-------------------------------------------------------
type apache_t
gen_context(system_u:object_r:apache_policy_t,s0)
type apache_t.staff_script
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.staff_script_exec
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.staff_content
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.staff_htaccess
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.staff_content.ro
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.staff_content.rw
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.staff_content.ra
gen_context(system_u:object_r:staff_apache_policy_t,s0)
type apache_t.sysadm_script
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.sysadm_script_exec
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.sysadm_content
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.sysadm_htaccess
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.sysadm_content.ro
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.sysadm_content.rw
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.sysadm_content.ra
gen_context(system_u:object_r:sysadm_apache_policy_t,s0)
type apache_t.user_script
gen_context(system_u:object_r:user_apache_policy_t,s0)
type apache_t.user_script_exec
gen_context(system_u:object_r:user_apache_policy_t,s0)
type apache_t.user_content
gen_context(system_u:object_r:user_apache_policy_t,s0)
type apache_t.user_htaccess
gen_context(system_u:object_r:user_apache_policy_t,s0)
type apache_t.user_content.ro
gen_context(system_u:object_r:user_apache_policy_t,s0)
type apache_t.user_content.rw
gen_context(system_u:object_r:user_apache_policy_t,s0)
type apache_t.user_content.ra
gen_context(system_u:object_r:user_apache_policy_t,s0)
--
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:[~2007-01-18 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-18 16:32 [RFC] 4/4 - Hierarchal apache policy for reference policy (policy contexts) Joshua Brindle
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.