diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2020-07-07 16:29:12 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2020-07-14 18:56:06 -0400 |
commit | 15fed8756aa4828fa12a3d813754b4ca65a7607d (patch) | |
tree | f12c257abba3e21ec17f7fb97e74c615ab9ff18f /recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch | |
parent | 7d3b1347ae949c7208482694fd773e4bc3f321b4 (diff) | |
download | meta-selinux-15fed8756aa4828fa12a3d813754b4ca65a7607d.tar.gz |
refpolicy: update to 20200229+git
* Drop obsolete and unused patches.
* Rebase patches.
* Add patches to make systemd and sysvinit can work with all policy types.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch b/recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch deleted file mode 100644 index 194a474..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 783ba03eff9d5b94363fff148aa1c745ff02ddd4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Thu, 28 Mar 2019 21:37:32 -0400 | ||
4 | Subject: [PATCH 05/34] fc/bash: apply /usr/bin/bash context to /bin/bash.bash | ||
5 | |||
6 | We include /bin/bash.bash as a valid alias for /bin/bash, so ensure we apply | ||
7 | the proper context to the target for our policy. | ||
8 | |||
9 | Upstream-Status: Inappropriate [only for Yocto] | ||
10 | |||
11 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
12 | --- | ||
13 | policy/modules/kernel/corecommands.fc | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc | ||
17 | index e7415cac..cf3848db 100644 | ||
18 | --- a/policy/modules/kernel/corecommands.fc | ||
19 | +++ b/policy/modules/kernel/corecommands.fc | ||
20 | @@ -141,6 +141,7 @@ ifdef(`distro_gentoo',` | ||
21 | /usr/bin/d?ash -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
22 | /usr/bin/bash -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
23 | /usr/bin/bash2 -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
24 | +/usr/bin/bash.bash -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
25 | /usr/bin/fish -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
26 | /usr/bin/git-shell -- gen_context(system_u:object_r:shell_exec_t,s0) | ||
27 | /usr/bin/insmod_ksymoops_clean -- gen_context(system_u:object_r:bin_t,s0) | ||
28 | -- | ||
29 | 2.19.1 | ||
30 | |||