diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-sysnetwork.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-sysnetwork.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-sysnetwork.patch b/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-sysnetwork.patch deleted file mode 100644 index fa369ca..0000000 --- a/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-sysnetwork.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | From 56ec3e527f2a03d217d5f07ebb708e6e26fa26ff Mon Sep 17 00:00:00 2001 | ||
2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
3 | Date: Tue, 9 Jun 2015 21:22:52 +0530 | ||
4 | Subject: [PATCH] refpolicy: fix real path for sysnetwork | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
9 | Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> | ||
10 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
11 | --- | ||
12 | policy/modules/system/sysnetwork.fc | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | --- a/policy/modules/system/sysnetwork.fc | ||
16 | +++ b/policy/modules/system/sysnetwork.fc | ||
17 | @@ -2,10 +2,11 @@ | ||
18 | # | ||
19 | # /bin | ||
20 | # | ||
21 | /bin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
22 | /bin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
23 | +/sbin/ip\.iproute2 -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
24 | |||
25 | # | ||
26 | # /dev | ||
27 | # | ||
28 | ifdef(`distro_debian',` | ||
29 | @@ -43,17 +44,19 @@ ifdef(`distro_redhat',` | ||
30 | /sbin/dhclient.* -- gen_context(system_u:object_r:dhcpc_exec_t,s0) | ||
31 | /sbin/dhcdbd -- gen_context(system_u:object_r:dhcpc_exec_t,s0) | ||
32 | /sbin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0) | ||
33 | /sbin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
34 | /sbin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
35 | +/sbin/ifconfig\.net-tools -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
36 | /sbin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
37 | /sbin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
38 | /sbin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
39 | /sbin/ipx_internal_net -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
40 | /sbin/iw -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
41 | /sbin/iwconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
42 | /sbin/mii-tool -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
43 | +/sbin/mii-tool\.net-tools -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
44 | /sbin/pump -- gen_context(system_u:object_r:dhcpc_exec_t,s0) | ||
45 | /sbin/tc -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
46 | |||
47 | # | ||
48 | # /usr | ||