aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@ieee.org>2017-02-04 15:19:35 -0500
committerJason Zaman <jason@perfinion.com>2017-02-05 23:10:31 +0800
commitf408383b96e3836399199bcd926d3726cc936163 (patch)
tree0ae155d449a0f7850d834cf831f72b642c4caa0e /config
parentcontrib: usrmerge: Add gentoo-specific /usr fcontexts (diff)
downloadhardened-refpolicy-f408383b96e3836399199bcd926d3726cc936163.tar.gz
hardened-refpolicy-f408383b96e3836399199bcd926d3726cc936163.tar.bz2
hardened-refpolicy-f408383b96e3836399199bcd926d3726cc936163.zip
Create / to /usr equivalence for bin, sbin, and lib, from Russell Coker.
Diffstat (limited to 'config')
-rw-r--r--config/file_contexts.subs_dist8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist
index ade78dc6..96c27653 100644
--- a/config/file_contexts.subs_dist
+++ b/config/file_contexts.subs_dist
@@ -8,10 +8,14 @@
# It does not perform substitutions as done by sed(1), for
# example, but aliasing.
#
+/bin /usr/bin
+/lib /usr/lib
+/lib32 /usr/lib
+/lib64 /usr/lib
+/libx32 /usr/libx32
+/sbin /usr/sbin
/etc/init.d /etc/rc.d/init.d
/lib/systemd /usr/lib/systemd
-/lib32 /lib
-/lib64 /lib
/run/lock /var/lock
/usr/lib32 /usr/lib
/usr/lib64 /usr/lib