On Thu, Apr 21, 2011 at 10:26 PM, Eric Blake <ebl...@redhat.com> 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. Thanks for all Bastien