From: Joshua Brindle <jbrindle@tresys.com>
To: SE Linux <selinux@tycho.nsa.gov>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: [RFC] 4/4 - Hierarchal apache policy for reference policy (policy contexts)
Date: Thu, 18 Jan 2007 11:32:27 -0500 [thread overview]
Message-ID: <45AFA11B.4090407@tresys.com> (raw)
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.
reply other threads:[~2007-01-18 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45AFA11B.4090407@tresys.com \
--to=jbrindle@tresys.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.