From: Gratian Crisan Date: Mon, 21 Jul 2014 16:53:45 +0000 (-0500) Subject: busybox: mdev: Make /dev/shm world-writable X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33077 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8f35be467836d8fa0bc8f8e85eba6f89a13f087;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git busybox: mdev: Make /dev/shm world-writable Otherwise, users cannot use named semaphores or shared memory. Signed-off-by: Richard Tollerton Signed-off-by: Ben Shelton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev index 4eba6190c71..f7ed1f3d675 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