From owner-cvs-all@FreeBSD.ORG Sat Jan 20 16:31:07 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5A8F16A406 for ; Sat, 20 Jan 2007 16:31:07 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8D313C46A for ; Sat, 20 Jan 2007 16:31:07 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id ED4228C40B; Sat, 20 Jan 2007 11:31:06 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Sat, 20 Jan 2007 11:31:06 -0500 X-Sasl-enc: Lc0vnHisbmOC/nri6u3hNK9TinM2nM+QNfpZTLfFt6Fr 1169310666 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 5197610ADA; Sat, 20 Jan 2007 11:31:05 -0500 (EST) Message-ID: <45B243C8.1040108@FreeBSD.org> Date: Sat, 20 Jan 2007 16:31:04 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.5 (X11/20060825) MIME-Version: 1.0 To: Hajimu UMEMOTO References: <200701201500.l0KF06gr029490@repoman.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 16:31:07 -0000 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