add missing gentoo file contexts for initrc and lvm

This commit is contained in:
Chris PeBenito 2006-11-07 19:38:10 +00:00
parent f497b8df50
commit 0f9a2be65d
4 changed files with 10 additions and 2 deletions

View File

@ -11,6 +11,7 @@
ifdef(`distro_gentoo',` ifdef(`distro_gentoo',`
/etc/vmware/init\.d/vmware -- gen_context(system_u:object_r:initrc_exec_t,s0) /etc/vmware/init\.d/vmware -- gen_context(system_u:object_r:initrc_exec_t,s0)
/etc/x11/startDM.sh -- gen_context(system_u:object_r:initrc_exec_t,s0)
') ')
ifdef(`strict_policy',` ifdef(`strict_policy',`

View File

@ -1,5 +1,5 @@
policy_module(init,1.4.1) policy_module(init,1.4.2)
gen_require(` gen_require(`
class passwd rootok; class passwd rootok;

View File

@ -3,6 +3,13 @@
# configure LVM to put lockfiles in /etc/lvm/lock instead # configure LVM to put lockfiles in /etc/lvm/lock instead
# for this policy to work (unless you have no separate /var) # for this policy to work (unless you have no separate /var)
#
# /bin
#
ifdef(`distro_gentoo',`
/bin/cryptsetup -- gen_context(system_u:object_r:lvm_exec_t,s0)
')
# #
# /etc # /etc
# #

View File

@ -1,5 +1,5 @@
policy_module(lvm,1.4.0) policy_module(lvm,1.4.1)
######################################## ########################################
# #