From: Wenzong Fan <wenzong....@windriver.com>

Signed-off-by: Wenzong Fan <wenzong....@windriver.com>
---
 .../refpolicy-2.20130424/poky-fc-udevd.patch       |   20 ++++++++++++++------
 1 file 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 @@
-From 86fd93b15b97042bcf5ff1b2d1228e7d64b8cfd1 Mon Sep 17 00:00:00 2001
+From 025bd3c77d3eeb0e316413bf7e6353f1ccd7f6b2 Mon Sep 17 00:00:00 2001
 From: Wenzong Fan <wenzong....@windriver.com>
-Date: Tue, 7 Jan 2014 22:22:00 -0500
-Subject: [PATCH] refpolicy: fix real path for udevd
+Date: Sat, 25 Jan 2014 23:40:05 -0500
+Subject: [PATCH] refpolicy: fix real path for udevd/udevadm
 
 Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Wenzong Fan <wenzong....@windriver.com>
 ---
- policy/modules/system/udev.fc |    1 +
- 1 file changed, 1 insertion(+)
+ policy/modules/system/udev.fc |    2 ++
+ 1 file changed, 2 insertions(+)
 
 diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc
-index 40928d8..36d471d 100644
+index 40928d8..491bb23 100644
 --- a/policy/modules/system/udev.fc
 +++ b/policy/modules/system/udev.fc
 @@ -10,6 +10,7 @@
@@ -22,6 +22,14 @@ index 40928d8..36d471d 100644
  
  ifdef(`distro_debian',`
  /lib/udev/create_static_nodes -- gen_context(system_u:object_r:udev_exec_t,s0)
+@@ -27,6 +28,7 @@ ifdef(`distro_redhat',`
+ ')
+ 
+ /usr/bin/udevinfo --  gen_context(system_u:object_r:udev_exec_t,s0)
++/usr/bin/udevadm  --  gen_context(system_u:object_r:udev_exec_t,s0)
+ 
+ /usr/lib/systemd/systemd-udevd -- 
gen_context(system_u:object_r:udev_exec_t,s0)
+ 
 -- 
 1.7.9.5
 
-- 
1.7.9.5

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to