Re: [RFC][PATCH] scripts with stdin replaced

Richard Guenther (zxmpm11@student.uni-tuebingen.de)
Mon, 12 Jul 1999 11:55:06 +0200 (METDST)


On 11 Jul 1999, Stefan Monnier wrote:

> >>>>> "Richard" == Richard Guenther <zxmpm11@student.uni-tuebingen.de> writes:
> > Patching binfmt_script did not work, as /proc is not mounted
> > at early boot, so every script failed (tested it) and I dont
>
> I don't understand. Do you have suid scripts in your boot process ?
> Or do you mean that you used /proc/self/fd regardless of whether the script
> was setuid or not ?

Yes. I made it "dumb and generic" - passing /proc/self/fd only
if the script is setuid seems ok and would probably fix the problem.

Richard.

--
Richard Guenther <richard.guenther@student.uni-tuebingen.de>
PGP: 2E829319 - 2F 83 FC 93 E9 E4 19 E2 93 7A 32 42 45 37 23 57
WWW: http://www.anatom.uni-tuebingen.de/~richi/

- 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/