[arch-projects] [PATCH] init: allow exec in /run
We already have /tmp and /dev/shm as world writebale directories with exec permissions, so it doesn't necessarily make sense to inhibit exec here. There may be uses cases after early userspace but prior to root being remounted RW where a one-off script may need to be written and executed. This mirrors a commit to initscripts which makes the same change to /etc/rc.sysinit Signed-off-by: Dave Reisner <d@falconindy.com> --- init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init b/init index a99940a..87ff187 100644 --- a/init +++ b/init @@ -17,7 +17,7 @@ else # /dev/mem is needed if we want to load uvesafb before triggering uevents /bin/mknod /dev/mem c 1 1 fi -/bin/mount -t tmpfs run /run -o nosuid,noexec,nodev,mode=755,size=10M +/bin/mount -t tmpfs run /run -o nosuid,nodev,mode=755,size=10M root="" init="" -- 1.7.5.2
participants (1)
-
Dave Reisner