[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: |
Eric Blake |
Subject: |
Re: [PATCH 3/3] passfd: speed up configure and drop unused code |
Date: |
Thu, 21 Apr 2011 14:50:18 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9 |
On 04/21/2011 02:45 PM, Bastien ROUCARIES wrote:
> 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.
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 address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature