Re: Unix domain sendmsg/passing fds

Alan Cox (alan@cymru.net)
Tue, 13 Feb 1996 09:32:43 +0000 (GMT)


> In 1.3.61 (and also for 1.3.57) sendmsg doesn't work for Unix domain
> sockets (the address needs to be copied for user to kernel space...)

The addresses are copied by sock_sendmsg() at a higher level. The
address passed down to the protocol levels has been placed into kernel
space when the call is made. It is copied back at the end of sendmsg()
if needed. [And Im not aware that bit has broken - the printer wouldnt
work if it had]