From owner-freebsd-current@FreeBSD.ORG Sat Jul 10 15:55: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 BC43B16A4CE for ; Sat, 10 Jul 2004 15:55: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 66B7243D3F for ; Sat, 10 Jul 2004 15:55: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 5933414B949; Sat, 10 Jul 2004 17:58:17 +0200 (CEST) Message-ID: <000e01c46696$47468cf0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: , References: <1089448459.21616.70.camel@stinger.cc.rsu.ru> Date: Sat, 10 Jul 2004 17:55:09 +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 15:55: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