cvs commit: ports/dns/nss_mdns/files patch-src__bsdnss.c

Bruce M. Simpson bms at FreeBSD.org
Sat Jan 20 16:55:15 UTC 2007


Hajimu UMEMOTO wrote:
> bms>   Fix getaddrinfo(). Note that 'ssh foo.local' still doesn't work, because
> bms>   the BSD NSS interface does not yet support dynamic getnameinfo().
>
> What is dynamic getnameinfo()?  Since our getnameinfo() is implemented
> as a wrapper for getipnodebaddr(), I think NSS module for
> getipnodebaddr do the work.  Is it insufficient for you?
>   
My apologies -- I see that getipnodebyaddr() is being called.

Currently ssh is returning a getnameinfo() failure when using nss_mdns. 
I had assumed this was due to not using an _nsdispatch() interface for 
getnameinfo().

It is likely the stub code which wraps the glibc-style entry points 
isn't doing the right thing as the nss_mdns module has to allocate a 
struct out of the libc heap with malloc().

I'll look into this further.

Regards,
BMS


More information about the cvs-ports mailing list