diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch b/recipes-security/refpolicy/refpolicy/0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch deleted file mode 100644 index 434fc1d..0000000 --- a/recipes-security/refpolicy/refpolicy/0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From bbc6eb20e9509a61236051df7a5fa552a8f2654d 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] fc/udev: apply policy to udevadm in libexec | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
9 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
10 | --- | ||
11 | policy/modules/system/udev.fc | 2 ++ | ||
12 | 1 file changed, 2 insertions(+) | ||
13 | |||
14 | diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc | ||
15 | index 7898ff01c..bc717e60c 100644 | ||
16 | --- a/policy/modules/system/udev.fc | ||
17 | +++ b/policy/modules/system/udev.fc | ||
18 | @@ -24,6 +24,8 @@ ifdef(`distro_debian',` | ||
19 | /usr/sbin/udevstart -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
20 | /usr/sbin/wait_for_sysfs -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
21 | |||
22 | +/usr/libexec/udevadm -- gen_context(system_u:object_r:udevadm_exec_t,s0) | ||
23 | + | ||
24 | ifdef(`distro_redhat',` | ||
25 | /usr/sbin/start_udev -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
26 | ') | ||
27 | -- | ||
28 | 2.25.1 | ||
29 | |||