commit: 270b0b8bc0ad22dcce3287e4e531c4d9c799eca9 Author: Chris PeBenito <pebenito <AT> ieee <DOT> org> AuthorDate: Sat Nov 10 00:35:14 2018 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Sun Nov 11 23:24:55 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=270b0b8b
dnsmasq: Reorder lines in file contexts. Signed-off-by: Jason Zaman <jason <AT> perfinion.com> policy/modules/services/dnsmasq.fc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/policy/modules/services/dnsmasq.fc b/policy/modules/services/dnsmasq.fc index 57669f98..278b880f 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)