Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/
Date: Sun, 11 Nov 2018 23:29:47
Message-Id: 1541978695.270b0b8bc0ad22dcce3287e4e531c4d9c799eca9.perfinion@gentoo
1 commit: 270b0b8bc0ad22dcce3287e4e531c4d9c799eca9
2 Author: Chris PeBenito <pebenito <AT> ieee <DOT> org>
3 AuthorDate: Sat Nov 10 00:35:14 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 11 23:24:55 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=270b0b8b
7
8 dnsmasq: Reorder lines in file contexts.
9
10 Signed-off-by: Jason Zaman <jason <AT> perfinion.com>
11
12 policy/modules/services/dnsmasq.fc | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/policy/modules/services/dnsmasq.fc b/policy/modules/services/dnsmasq.fc
16 index 57669f98..278b880f 100644
17 --- a/policy/modules/services/dnsmasq.fc
18 +++ b/policy/modules/services/dnsmasq.fc
19 @@ -3,6 +3,9 @@
20
21 /etc/rc\.d/init\.d/dnsmasq -- gen_context(system_u:object_r:dnsmasq_initrc_exec_t,s0)
22
23 +/run/dnsmasq.* -- gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
24 +/run/libvirt/network(/.*)? gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
25 +
26 /usr/bin/dnsmasq -- gen_context(system_u:object_r:dnsmasq_exec_t,s0)
27
28 # Systemd unit file
29 @@ -15,9 +18,6 @@
30
31 /var/log/dnsmasq.* -- gen_context(system_u:object_r:dnsmasq_var_log_t,s0)
32
33 -/run/dnsmasq.* -- gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
34 -/run/libvirt/network(/.*)? gen_context(system_u:object_r:dnsmasq_var_run_t,s0)
35 -
36 ifdef(`distro_gentoo',`
37 # Fix bug 531836 - Needed to support dnssec in dnsmasq
38 /usr/share/dnsmasq(/.*)? gen_context(system_u:object_r:dnsmasq_etc_t,s0)