Re: [BUG] Passing FDs over pipes

Alex Belits (
Thu, 14 May 1998 19:52:47 -0700 (PDT)

On Thu, 14 May 1998, Chris Wedgwood wrote:

> > 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.
> AFAIK sendmsg is only defined to work for pipes.

sendmsg must work over sockets -- this is how BSD fd passing is done.


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