diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-07-27 14:07:48 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2023-07-31 15:05:30 -0400 |
commit | 1924d975283210f0c36bc3c0e8ce516ccc06961f (patch) | |
tree | 494be7575b6219b816613ddefb6072973d8e78d4 /recipes-security/refpolicy/refpolicy-git/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch | |
parent | 4f3ec6e10f13aaf19fbca9a18547f9e72ba1ec0a (diff) | |
download | meta-selinux-dunfell.tar.gz |
refpolicy: update to 20200229+gitdunfell
* 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>
(cherry picked from commit 15fed8756aa4828fa12a3d813754b4ca65a7607d)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch b/recipes-security/refpolicy/refpolicy-git/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch deleted file mode 100644 index 22eab15..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From a47fb4d6a25574d900213ef63b5c7e3ce7182419 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Thu, 28 Mar 2019 20:48:10 -0400 | ||
4 | Subject: [PATCH 02/34] fc/subs/busybox: set aliases for bin, sbin and usr | ||
5 | |||
6 | The objects in /usr/lib/busybox/* should have the same policy applied as | ||
7 | the corresponding objects in the / hierarchy. | ||
8 | |||
9 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
10 | --- | ||
11 | config/file_contexts.subs_dist | 7 +++++++ | ||
12 | 1 file changed, 7 insertions(+) | ||
13 | |||
14 | diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist | ||
15 | index be532d7f..04fca3c3 100644 | ||
16 | --- a/config/file_contexts.subs_dist | ||
17 | +++ b/config/file_contexts.subs_dist | ||
18 | @@ -41,3 +41,10 @@ | ||
19 | /var/volatile/tmp /var/tmp | ||
20 | /var/volatile/lock /var/lock | ||
21 | /var/volatile/run/lock /var/lock | ||
22 | + | ||
23 | +# busybox aliases | ||
24 | +# quickly match up the busybox built-in tree to the base filesystem tree | ||
25 | +/usr/lib/busybox/bin /bin | ||
26 | +/usr/lib/busybox/sbin /sbin | ||
27 | +/usr/lib/busybox/usr /usr | ||
28 | + | ||
29 | -- | ||
30 | 2.19.1 | ||
31 | |||