]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: mdev: Make /dev/shm world-writable
authorGratian Crisan <gratian.crisan@ni.com>
Mon, 21 Jul 2014 16:53:45 +0000 (11:53 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Jul 2014 20:44:20 +0000 (21:44 +0100)
Otherwise, users cannot use named semaphores or shared memory.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/files/mdev

index 4eba6190c71d5265ec032d192a19f38cf20fdf4f..f7ed1f3d675991ad55c60163bb4a2fda1ea615a6 100755 (executable)
@@ -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