From owner-freebsd-current@FreeBSD.ORG Sat Jul 10 13:41:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA14516A4CE for ; Sat, 10 Jul 2004 13:41:11 +0000 (GMT) Received: from huva.hittite.isp.9tel.net (huva.hittite.isp.9tel.net [62.62.156.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C01743D2F for ; Sat, 10 Jul 2004 13:41:11 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.171.104]) by huva.hittite.isp.9tel.net (Postfix) with SMTP id 8D48C14B6E0; Sat, 10 Jul 2004 15:44:16 +0200 (CEST) Message-ID: <000b01c46683$8f4550d0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: , References: <1089448459.21616.70.camel@stinger.cc.rsu.ru> Date: Sat, 10 Jul 2004 15:39:56 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: getserv* and nsswitch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 13:41:11 -0000 "Michael Bushkov" wrote: > Good day! > I'm currently implementing getserv* functionality in lookupd. lookupd > works as the nss plugin - nss_lookupd.so. But there is no nsdipsatch > interface in getserv* functions. > > i can implement it and make a patch. > Is it ok? Hi, I'm currently rewritting your stuff to make it style(9) compliant. this help me, also, to check the code and IMHO, there are too many unchecked syscall (malloc, read, send) return values to incorpore lookupd as is. whenever possible, I'll send you back my work. Cyrille Lefevre. -- mailto:clefevre-lists@9online.fr