add missing gentoo file contexts for initrc and lvm
This commit is contained in:
parent
f497b8df50
commit
0f9a2be65d
@ -11,6 +11,7 @@
|
||||
|
||||
ifdef(`distro_gentoo',`
|
||||
/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',`
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(init,1.4.1)
|
||||
policy_module(init,1.4.2)
|
||||
|
||||
gen_require(`
|
||||
class passwd rootok;
|
||||
|
@ -3,6 +3,13 @@
|
||||
# configure LVM to put lockfiles in /etc/lvm/lock instead
|
||||
# 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
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(lvm,1.4.0)
|
||||
policy_module(lvm,1.4.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user