Messages in this thread | | | Date | Sun, 11 Jul 1999 11:47:23 -0500 | From | Mitchell Blank Jr <> | Subject | Re: [RFC][PATCH] scripts with stdin replaced |
| |
Richard Guenther wrote: > Patching binfmt_script did not work, as /proc is not mounted > at early boot, so every script failed (tested it) and I dont > know where and if to add magic checks to binfmt_script to check > for "early boot stage". Btw. one really wants to carefully choose > which interpreters are allowed to be called with suid-scripts. > I personally wont let bash do it. > > Comments? Richard.
It'd be much better to make the path for "/dev/fd" a sysctl. Until it is set, run as usual. Then binfmt_script would work... you'd just have your boot scripts do:
mount /proc echo "/dev/fd" > /proc/sys/kernel/dev_fd_path
...or something like that.
-Mitch
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |