Re: fd passing.

Roger Espel Llima (
Thu, 14 May 1998 13:42:32 +0200

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

Try using a socketpair() ... not that I've tested if that works, but if
it works over sockets, well, socketpair() creates sockets after all.

Roger Espel Llima,

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