From owner-freebsd-current@FreeBSD.ORG Sat Jul 10 13:37:01 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 8AA2C16A4CE for ; Sat, 10 Jul 2004 13:37:01 +0000 (GMT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3849C43D1F for ; Sat, 10 Jul 2004 13:37:01 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.171.104]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 5F43714B6CD; Sat, 10 Jul 2004 15:40:12 +0200 (CEST) Message-ID: <094301c46682$fa576670$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: , References: <1089448459.21616.70.camel@stinger.cc.rsu.ru> Date: Sat, 10 Jul 2004 15:36:59 +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:37:01 -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