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

Richard Guenther (zxmpm11@student.uni-tuebingen.de)
Sun, 4 Jul 1999 15:57:15 +0200 (METDST)


On Sat, 3 Jul 1999, Marcin 'Qrczak' Kowalczyk wrote:

> Na linux-kernel piszesz:
>
> > The following patch extends binfmt_misc to substitute stdin
> > of the wrapper with the to be executed binary.
>
> Wouldn't be better to open it on a different descriptor and pass
> /dev/fd/<something> (or /proc/<pid>/fd/<something> - BTW, which one is
> preferred to use?) as the argument? I think that some Unices do that.

Do you know which Unices offer such feature and which semantics they
choose? I have couple of different machines around, but before
digging I would at least have to know where to look at. Is there
a man-page or such for a special unix you know?

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/