aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <cpebenito@tresys.com>2014-09-12 09:42:59 -0400
committerSven Vermeulen <sven.vermeulen@siphos.be>2014-09-13 11:25:12 +0200
commitaf47eb2d50f3e3c134ec307b5021db258bb027ab (patch)
tree9c44e0e13837e51ee1955a5f8adcd489f396c898
parentLabel systemd files in init module (diff)
downloadhardened-refpolicy-af47eb2d50f3e3c134ec307b5021db258bb027ab.tar.gz
hardened-refpolicy-af47eb2d50f3e3c134ec307b5021db258bb027ab.tar.bz2
hardened-refpolicy-af47eb2d50f3e3c134ec307b5021db258bb027ab.zip
Move systemd fc entry.
-rw-r--r--policy/modules/system/init.fc3
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc
index 3c50f9d4..e499287e 100644
--- a/policy/modules/system/init.fc
+++ b/policy/modules/system/init.fc
@@ -22,11 +22,12 @@ ifdef(`distro_gentoo',`
#
# /lib
#
+/lib/systemd/systemd -- gen_context(system_u:object_r:init_exec_t,s0)
+
ifdef(`distro_gentoo', `
/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
/lib/rc/console(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
')
-/lib/systemd/systemd -- gen_context(system_u:object_r:init_exec_t,s0)
#
# /sbin