diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch b/recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch deleted file mode 100644 index e34abe6..0000000 --- a/recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From ac335f80d09f9ce4756f2e58944a975a12441fa7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Tue, 19 Nov 2019 14:33:28 +0800 | ||
4 | Subject: [PATCH] fc/init: add file context to /etc/network/if-* files | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
9 | --- | ||
10 | policy/modules/system/init.fc | 3 ++- | ||
11 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc | ||
14 | index 5268bddb2..a6762bd00 100644 | ||
15 | --- a/policy/modules/system/init.fc | ||
16 | +++ b/policy/modules/system/init.fc | ||
17 | @@ -75,11 +75,12 @@ ifdef(`distro_redhat',` | ||
18 | ifdef(`distro_debian',` | ||
19 | /run/hotkey-setup -- gen_context(system_u:object_r:initrc_runtime_t,s0) | ||
20 | /run/kdm/.* -- gen_context(system_u:object_r:initrc_runtime_t,s0) | ||
21 | +') | ||
22 | + | ||
23 | /etc/network/if-pre-up\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) | ||
24 | /etc/network/if-up\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) | ||
25 | /etc/network/if-down\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) | ||
26 | /etc/network/if-post-down\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) | ||
27 | -') | ||
28 | |||
29 | ifdef(`distro_gentoo', ` | ||
30 | /var/lib/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) | ||
31 | -- | ||
32 | 2.17.1 | ||
33 | |||