[oe-commits] Gratian Crisan : busybox: mdev: Make /dev/shm world-writable
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 23 21:08:46 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: a8f35be467836d8fa0bc8f8e85eba6f89a13f087
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a8f35be467836d8fa0bc8f8e85eba6f89a13f087
Author: Gratian Crisan <gratian.crisan at ni.com>
Date: Mon Jul 21 11:53:45 2014 -0500
busybox: mdev: Make /dev/shm world-writable
Otherwise, users cannot use named semaphores or shared memory.
Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
Signed-off-by: Ben Shelton <ben.shelton at ni.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/busybox/files/mdev | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev
index 4eba619..f7ed1f3 100755
--- a/meta/recipes-core/busybox/files/mdev
+++ b/meta/recipes-core/busybox/files/mdev
@@ -2,6 +2,7 @@
mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
mkdir /dev/pts /dev/shm
+chmod 777 /dev/shm
mount -t devpts devpts /dev/pts
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
mdev -s
More information about the Openembedded-commits
mailing list