summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch')
-rw-r--r--recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch b/recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch
new file mode 100644
index 0000000..cfd8dfc
--- /dev/null
+++ b/recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch
@@ -0,0 +1,32 @@
1From fcf91092015155c4a10a1d7c4dd352ead0b5698b Mon Sep 17 00:00:00 2001
2From: Joe MacDonald <joe_macdonald@mentor.com>
3Date: Thu, 28 Mar 2019 21:58:53 -0400
4Subject: [PATCH] fc/bind: fix real path for bind
5
6Upstream-Status: Inappropriate [embedded specific]
7
8Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
9Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11---
12 policy/modules/services/bind.fc | 2 ++
13 1 file changed, 2 insertions(+)
14
15diff --git a/policy/modules/services/bind.fc b/policy/modules/services/bind.fc
16index 7c1df4895..9f87a21a6 100644
17--- a/policy/modules/services/bind.fc
18+++ b/policy/modules/services/bind.fc
19@@ -1,8 +1,10 @@
20 /etc/rc\.d/init\.d/named -- gen_context(system_u:object_r:named_initrc_exec_t,s0)
21+/etc/rc\.d/init\.d/bind -- gen_context(system_u:object_r:named_initrc_exec_t,s0)
22 /etc/rc\.d/init\.d/unbound -- gen_context(system_u:object_r:named_initrc_exec_t,s0)
23
24 /etc/bind(/.*)? gen_context(system_u:object_r:named_zone_t,s0)
25 /etc/bind/named\.conf.* -- gen_context(system_u:object_r:named_conf_t,s0)
26+/etc/bind/rndc\.conf.* -- gen_context(system_u:object_r:named_conf_t,s0)
27 /etc/bind/rndc\.key -- gen_context(system_u:object_r:dnssec_t,s0)
28 /etc/dnssec-trigger/dnssec_trigger_server\.key -- gen_context(system_u:object_r:dnssec_t,s0)
29 /etc/named\.rfc1912\.zones -- gen_context(system_u:object_r:named_conf_t,s0)
30--
312.17.1
32