Re: [BUG] Passing FDs over pipes

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Thu, 14 May 1998 13:48:42 +1000


Chip Salzenberg writes:
> According to Richard Gooch:
> > Hi, all. With 2.1.97 I get "Socket operation on non-socket" when I
> > use sendmsg(2) to transfer a FD over a pipe. Transferring over a Unix
> > socket works fine.
>
> Therefore, you've gotten exactly the right error message that is supposed
> to result from attempting exactly that illegal operation.

Passing FDs over pipes is very handy, and works under Solaris2 and
IRIX. Also, "Advanced Programming in the Unix Environment" doesn't
seem to say that passing FDs over pipes is not supported.

So where does it say that passing FDs over a pipe is a no-no?

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu