[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] passfd: speed up configure and drop unused code
From: |
Bastien ROUCARIES |
Subject: |
Re: [PATCH 3/3] passfd: speed up configure and drop unused code |
Date: |
Thu, 21 Apr 2011 22:45:10 +0200 |
On Thu, Apr 21, 2011 at 10:26 PM, Eric Blake <address@hidden> 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