On 03/29/2017 11:45 AM, Markus Armbruster wrote: > Certain features make sense only with certain address families. For > instance, passing file descriptors requires AF_UNIX. Testing > SocketAddress's saddr->type == SOCKET_ADDRESS_KIND_UNIX is obvious, > but problematic: it can't recognize AF_UNIX when type == > SOCKET_ADDRESS_KIND_FD. > > Mark such tests of saddr->type TODO. We may want to check the address > family with getsockname() there. > > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Daniel P. Berrange <berra...@redhat.com> > Signed-off-by: Markus Armbruster <arm...@redhat.com> > ---
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature