On 04/21/2011 02:45 PM, Bastien ROUCARIES wrote: > On Thu, Apr 21, 2011 at 10:26 PM, Eric Blake <[email protected]> wrote: >> Ultimately, it would be nice to provide a sendmsg and recvmsg module, >> and have those provide a replacement struct msghdr and silently >> convert msg_accrights into the replacement struct's msg_control, when >> targeting older BSD. But until that point in time, this is a nice >> cleanup. >> >> SCM_RIGHTS really only works on Unix sockets; however, there is >> nothing in passfd.c that needs to be hard-coded to this (rather, >> the hard-coding of the address family is done externally when >> the socket or socketpair is created). >> >> * m4/afunix.m4 (gl_SOCKET_AFUNIX): Rename... > > I believe I will reuse for emulation of AF_UNIX in long term. Will add > it a new once when I will do it.
Not a problem. Aargh. I tested on mingw, but broke test-passfd on Linux in a last-minute change. Fix coming up shortly. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
