aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@ieee.org>2018-11-09 19:35:14 -0500
committerJason Zaman <jason@perfinion.com>2018-11-12 07:24:55 +0800
commit270b0b8bc0ad22dcce3287e4e531c4d9c799eca9 (patch)
treec48b8629da89229a4ef33af8803a9b933491acbe
parentdnsmasq: Whitespace fix in file contexts. (diff)
downloadhardened-refpolicy-270b0b8bc0ad22dcce3287e4e531c4d9c799eca9.tar.gz
hardened-refpolicy-270b0b8bc0ad22dcce3287e4e531c4d9c799eca9.tar.bz2
hardened-refpolicy-270b0b8bc0ad22dcce3287e4e531c4d9c799eca9.zip
dnsmasq: Reorder lines in file contexts.
Signed-off-by: Jason Zaman <jason@perfinion.com>
-rw-r--r--policy/modules/services/dnsmasq.fc6
1 files changed, 3 insertions, 3 deletions
diff --git a/policy/modules/services/dnsmasq.fc b/policy/modules/services/dnsmasq.fc
index 57669f98b..278b880f4 100644
--- a/policy/modules/services/dnsmasq.fc
+++ b/policy/modules/services/dnsmasq.fc
@@ -3,6 +3,9 @@
/etc/rc\.d/init\.d/dnsmasq -- gen_context(system_u:object_r:dnsmasq_initrc_exec_t,s0)
+/run/dnsmasq.* -- gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
+/run/libvirt/network(/.*)? gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
+
/usr/bin/dnsmasq -- gen_context(system_u:object_r:dnsmasq_exec_t,s0)
# Systemd unit file
@@ -15,9 +18,6 @@
/var/log/dnsmasq.* -- gen_context(system_u:object_r:dnsmasq_var_log_t,s0)
-/run/dnsmasq.* -- gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
-/run/libvirt/network(/.*)? gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
-
ifdef(`distro_gentoo',`
# Fix bug 531836 - Needed to support dnssec in dnsmasq
/usr/share/dnsmasq(/.*)? gen_context(system_u:object_r:dnsmasq_etc_t,s0)