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/0013-fc-udev-apply-policy-to-udevadm-in-libexec.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/0013-fc-udev-apply-policy-to-udevadm-in-libexec.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0013-fc-udev-apply-policy-to-udevadm-in-libexec.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0013-fc-udev-apply-policy-to-udevadm-in-libexec.patch b/recipes-security/refpolicy/refpolicy-git/0013-fc-udev-apply-policy-to-udevadm-in-libexec.patch deleted file mode 100644 index 9ec2e21..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0013-fc-udev-apply-policy-to-udevadm-in-libexec.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 434fe791713127cea8a796529266b87763833117 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Fri, 29 Mar 2019 09:36:08 -0400 | ||
4 | Subject: [PATCH 13/34] fc/udev: apply policy to udevadm in libexec | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
9 | --- | ||
10 | policy/modules/system/udev.fc | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc | ||
14 | index 606ad517..2919c0bd 100644 | ||
15 | --- a/policy/modules/system/udev.fc | ||
16 | +++ b/policy/modules/system/udev.fc | ||
17 | @@ -28,6 +28,8 @@ ifdef(`distro_debian',` | ||
18 | /usr/sbin/udevstart -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
19 | /usr/sbin/wait_for_sysfs -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
20 | |||
21 | +/usr/libexec/udevadm -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
22 | + | ||
23 | ifdef(`distro_redhat',` | ||
24 | /usr/sbin/start_udev -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
25 | ') | ||
26 | -- | ||
27 | 2.19.1 | ||
28 | |||