diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch b/recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch deleted file mode 100644 index 6a659b2..0000000 --- a/recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From b3d2611360ddf21a3f8729766a1e4b64117ea710 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Tue, 4 Aug 2020 16:48:12 +0800 | ||
4 | Subject: [PATCH] fc/sysnetwork: update file context for ifconfig | ||
5 | |||
6 | The ifconfig was moved from sbin to bin with oe-core commit: | ||
7 | c9caff40ff61c08e24a84922f8d7c8e9cdf8883e. Update the file context for | ||
8 | it. | ||
9 | |||
10 | Upstream-Status: Inappropriate [embedded specific] | ||
11 | |||
12 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
13 | --- | ||
14 | policy/modules/system/sysnetwork.fc | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc | ||
18 | index c3291962d..4ca151524 100644 | ||
19 | --- a/policy/modules/system/sysnetwork.fc | ||
20 | +++ b/policy/modules/system/sysnetwork.fc | ||
21 | @@ -44,6 +44,7 @@ ifdef(`distro_redhat',` | ||
22 | /usr/bin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0) | ||
23 | /usr/bin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
24 | /usr/bin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
25 | +/usr/bin/ifconfig\.net-tools -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
26 | /usr/bin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
27 | /usr/bin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
28 | /usr/bin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0) | ||
29 | -- | ||
30 | 2.17.1 | ||
31 | |||