[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [RFC][PATCH] scripts with stdin replaced
From: Mitchell Blank Jr <mitch () execpc ! com>
Date: 1999-07-11 16:47:23
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic