diff options
author | Gratian Crisan <gratian.crisan@ni.com> | 2014-07-21 11:53:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:44:20 +0100 |
commit | a8f35be467836d8fa0bc8f8e85eba6f89a13f087 (patch) | |
tree | 8b771b402a72e41d0f1710fb8e5f9e37ee04a52b | |
parent | c7355550dc21a1ef3c2e828ed5f51e94e12fac5f (diff) | |
download | openembedded-core-a8f35be467836d8fa0bc8f8e85eba6f89a13f087.tar.gz openembedded-core-a8f35be467836d8fa0bc8f8e85eba6f89a13f087.tar.bz2 openembedded-core-a8f35be467836d8fa0bc8f8e85eba6f89a13f087.zip |
busybox: mdev: Make /dev/shm world-writable
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>
-rwxr-xr-x | meta/recipes-core/busybox/files/mdev | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev index 4eba6190c7..f7ed1f3d67 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 |