aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <jason@perfinion.com>2017-02-05 16:58:28 +0800
committerJason Zaman <jason@perfinion.com>2017-02-05 23:10:31 +0800
commita22e9f51496b244924b7103da65925d57e8603df (patch)
treee546f39b1457586985fd96e08a43cf33df58d157 /policy/modules/system/udev.fc
parentCreate / to /usr equivalence for bin, sbin, and lib, from Russell Coker. (diff)
downloadhardened-refpolicy-a22e9f51496b244924b7103da65925d57e8603df.tar.gz
hardened-refpolicy-a22e9f51496b244924b7103da65925d57e8603df.tar.bz2
hardened-refpolicy-a22e9f51496b244924b7103da65925d57e8603df.zip
usrmerge: Add gentoo-specific /usr fcontexts
Diffstat (limited to 'policy/modules/system/udev.fc')
-rw-r--r--policy/modules/system/udev.fc7
1 files changed, 2 insertions, 5 deletions
diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc
index 6801d63fd..de646705e 100644
--- a/policy/modules/system/udev.fc
+++ b/policy/modules/system/udev.fc
@@ -42,11 +42,8 @@ ifdef(`distro_debian',`
')
ifdef(`distro_gentoo',`
-/bin/udevadm -- gen_context(system_u:object_r:udev_exec_t,s0)
-
-/lib/udev/udevd -- gen_context(system_u:object_r:udev_exec_t,s0)
-/lib/udev/rules\.d(/.*)? gen_context(system_u:object_r:udev_rules_t,s0)
-/lib/systemd/systemd-udevd -- gen_context(system_u:object_r:udev_exec_t,s0)
+/usr/lib/udev/udevd -- gen_context(system_u:object_r:udev_exec_t,s0)
+/usr/lib/udev/rules\.d(/.*)? gen_context(system_u:object_r:udev_rules_t,s0)
/usr/bin/udevadm -- gen_context(system_u:object_r:udev_exec_t,s0)