Re: [OpenWrt-Devel] [PATCH procd] fix /dev/shm permissions, this time for real

2015-06-17 Thread Daniel Gimpelevich
Previous patch did not account for umask, now adding that. Signed-off-by: Daniel Gimpelevich --- a/initd/early.c +++ b/initd/early.c @@ -60,6 +60,8 @@ static void early_mounts(void) { + unsigned int oldumask = umask(0); + mount("proc", "/proc", "proc", MS_NOATIME, 0); mou

[OpenWrt-Devel] [PATCH procd] fix /dev/shm permissions

2015-06-17 Thread Daniel Gimpelevich
On my Ubuntu system, the permissions are 1777. They are incorrect in procd, leading to this: https://forum.openwrt.org/viewtopic.php?id=57073 This in intended for both CC and DD. Signed-off-by: Daniel Gimpelevich --- a/initd/early.c 2015-06-14 19:31:47.0 -0700 +++ b/initd/early.c