diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch b/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch deleted file mode 100644 index 3739059..0000000 --- a/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Subject: [PATCH] refpolicy: fix real path for corecommands | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
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/kernel/corecommands.fc | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | --- a/policy/modules/kernel/corecommands.fc | ||
12 | +++ b/policy/modules/kernel/corecommands.fc | ||
13 | @@ -154,10 +154,11 @@ ifdef(`distro_gentoo',` | ||
14 | /sbin -d gen_context(system_u:object_r:bin_t,s0) | ||
15 | /sbin/.* gen_context(system_u:object_r:bin_t,s0) | ||
16 | /sbin/insmod_ksymoops_clean -- gen_context(system_u:object_r:bin_t,s0) | ||
17 | /sbin/mkfs\.cramfs -- gen_context(system_u:object_r:bin_t,s0) | ||
18 | /sbin/nologin -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
19 | +/usr/sbin/nologin -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
20 | |||
21 | # | ||
22 | # /opt | ||
23 | # | ||
24 | /opt/(.*/)?bin(/.*)? gen_context(system_u:object_r:bin_t,s0) | ||