summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch
diff options
context:
space:
mode:
authorJoe MacDonald <joe@deserted.net>2019-04-08 13:50:40 -0400
committerJoe MacDonald <joe@deserted.net>2019-04-10 10:57:14 -0400
commit776da889b550ac9e5be414a8cc10fd86b1923264 (patch)
tree79771fa29c551e934321434f4b5f3da7a27fd91f /recipes-security/refpolicy/refpolicy-2.20170204/poky-fc-corecommands.patch
parenta6a3cadb1ef3203a123d8f5f9df27832f55b2ce3 (diff)
downloadmeta-selinux-jjm/RELEASE_2.20190201.tar.gz
refpolicy: update to 2.20190201 and git HEAD policiesjjm/RELEASE_2.20190201
Additionally, the README has fallen out of date, update it to reflect the current reality of layer dependencies. Signed-off-by: Joe MacDonald <joe@deserted.net>
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.patch24
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 @@
1Subject: [PATCH] refpolicy: fix real path for corecommands
2
3Upstream-Status: Inappropriate [configuration]
4
5Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
6Signed-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)