Re: [BUG] Passing FDs over pipes

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Thu, 14 May 1998 17:50:38 +1000

David S. Miller writes:
> Date: Thu, 14 May 1998 17:39:00 +1000
> From: Richard Gooch <Richard.Gooch@atnf.CSIRO.AU>
> David S. Miller writes:
> > No and it isn't going to happen, at least for 2.2.x
> OK, I'll wait and hope for 2.3.x. Pity: it gives Solaris2 and IRIX a
> leg up :-(
> Use UNIX sockets then, just like everybody else who needs to pass FD's
> around over a connection endpoint between two UNIX processes. Whats
> so wrong with that?

Because what I am doing is forking and execing a process which is used
as a data filter. The stdout of the data filter is read by the
launching programme. The data filter wants to pass a FD "back" to the
launcher. Creating a Unix socket would be quite messy in this context.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to