[yocto] [meta-selinux][PATCH 1/4] udev init: restorecon for /dev/shm, /dev/pts

wenzong.fan at windriver.com wenzong.fan at windriver.com
Wed Apr 23 00:42:04 PDT 2014


From: Wenzong Fan <wenzong.fan at windriver.com>

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 recipes-core/udev/udev/init |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/udev/udev/init b/recipes-core/udev/udev/init
index 7194e8c..66359f2 100644
--- a/recipes-core/udev/udev/init
+++ b/recipes-core/udev/udev/init
@@ -114,7 +114,7 @@ case "$1" in
             udevadm settle
     fi
 
-    test ! -x /sbin/restorecon || /sbin/restorecon -F /dev
+    test ! -x /sbin/restorecon || /sbin/restorecon -F /dev /dev/shm /dev/pts
 
     ;;
   stop)
-- 
1.7.9.5




More information about the yocto mailing list