diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-fix-real-path_resolv.conf.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-fix-real-path_resolv.conf.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-fix-real-path_resolv.conf.patch b/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-fix-real-path_resolv.conf.patch deleted file mode 100644 index b90b744..0000000 --- a/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-fix-real-path_resolv.conf.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Subject: [PATCH] fix real path for resolv.conf | ||
2 | |||
3 | Upstream-Status: Inappropriate [only for Poky] | ||
4 | |||
5 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
6 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
7 | --- | ||
8 | policy/modules/system/sysnetwork.fc | 1 + | ||
9 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
10 | |||
11 | --- a/policy/modules/system/sysnetwork.fc | ||
12 | +++ b/policy/modules/system/sysnetwork.fc | ||
13 | @@ -23,10 +23,11 @@ ifdef(`distro_debian',` | ||
14 | /etc/ethers -- gen_context(system_u:object_r:net_conf_t,s0) | ||
15 | /etc/hosts -- gen_context(system_u:object_r:net_conf_t,s0) | ||
16 | /etc/hosts\.deny.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
17 | /etc/denyhosts.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
18 | /etc/resolv\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
19 | +/var/run/resolv\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
20 | /etc/yp\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
21 | |||
22 | /etc/dhcp3(/.*)? gen_context(system_u:object_r:dhcp_etc_t,s0) | ||
23 | /etc/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcp_etc_t,s0) | ||
24 | |||