diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2014-01-26 03:54:16 -0500 |
---|---|---|
committer | Xin Ouyang <xin.ouyang@windriver.com> | 2014-01-26 17:43:41 +0800 |
commit | 6f8d2d94a0faf75e92560bae1b303bf142534008 (patch) | |
tree | 935d22520d2915c5f6c35731d968ab850642b600 | |
parent | 3dc49f04c0b8dcfccaff95b557311bc9de0a477f (diff) | |
download | meta-selinux-6f8d2d94a0faf75e92560bae1b303bf142534008.tar.gz |
refpolicy: fix real path for udevadm
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-udevd.patch | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-udevd.patch b/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-udevd.patch index d6540a9..c6c19be 100644 --- a/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-udevd.patch +++ b/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-udevd.patch | |||
@@ -1,17 +1,17 @@ | |||
1 | From 86fd93b15b97042bcf5ff1b2d1228e7d64b8cfd1 Mon Sep 17 00:00:00 2001 | 1 | From 025bd3c77d3eeb0e316413bf7e6353f1ccd7f6b2 Mon Sep 17 00:00:00 2001 |
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | 2 | From: Wenzong Fan <wenzong.fan@windriver.com> |
3 | Date: Tue, 7 Jan 2014 22:22:00 -0500 | 3 | Date: Sat, 25 Jan 2014 23:40:05 -0500 |
4 | Subject: [PATCH] refpolicy: fix real path for udevd | 4 | Subject: [PATCH] refpolicy: fix real path for udevd/udevadm |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [configuration] | 6 | Upstream-Status: Inappropriate [configuration] |
7 | 7 | ||
8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | 8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> |
9 | --- | 9 | --- |
10 | policy/modules/system/udev.fc | 1 + | 10 | policy/modules/system/udev.fc | 2 ++ |
11 | 1 file changed, 1 insertion(+) | 11 | 1 file changed, 2 insertions(+) |
12 | 12 | ||
13 | diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc | 13 | diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc |
14 | index 40928d8..36d471d 100644 | 14 | index 40928d8..491bb23 100644 |
15 | --- a/policy/modules/system/udev.fc | 15 | --- a/policy/modules/system/udev.fc |
16 | +++ b/policy/modules/system/udev.fc | 16 | +++ b/policy/modules/system/udev.fc |
17 | @@ -10,6 +10,7 @@ | 17 | @@ -10,6 +10,7 @@ |
@@ -22,6 +22,14 @@ index 40928d8..36d471d 100644 | |||
22 | 22 | ||
23 | ifdef(`distro_debian',` | 23 | ifdef(`distro_debian',` |
24 | /lib/udev/create_static_nodes -- gen_context(system_u:object_r:udev_exec_t,s0) | 24 | /lib/udev/create_static_nodes -- gen_context(system_u:object_r:udev_exec_t,s0) |
25 | @@ -27,6 +28,7 @@ ifdef(`distro_redhat',` | ||
26 | ') | ||
27 | |||
28 | /usr/bin/udevinfo -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
29 | +/usr/bin/udevadm -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
30 | |||
31 | /usr/lib/systemd/systemd-udevd -- gen_context(system_u:object_r:udev_exec_t,s0) | ||
32 | |||
25 | -- | 33 | -- |
26 | 1.7.9.5 | 34 | 1.7.9.5 |
27 | 35 | ||