Date: Sat, 20 Jan 2007 16:31:04 +0000 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: Hajimu UMEMOTO <ume@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/dns/nss_mdns/files patch-src__bsdnss.c Message-ID: <45B243C8.1040108@FreeBSD.org> In-Reply-To: <ygeejppvilj.wl%ume@mahoroba.org> References: <200701201500.l0KF06gr029490@repoman.freebsd.org> <ygeejppvilj.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B243C8.1040108>