From owner-freebsd-current@FreeBSD.ORG Sat Apr 8 08:12:48 2006 Return-Path: X-Original-To: current@FreeBSD.org 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 6D29C16A400; Sat, 8 Apr 2006 08:12:48 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9EEB43D45; Sat, 8 Apr 2006 08:12:47 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:/+1m73LIGH4/qW5Th7DjbqhXvrPa63yu9zp042+tV71kSDrebj5N0+bq271If0ji@kasuga-iwi.mahoroba.org [IPv6:3ffe:501:185b:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k388Cfqj078205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Apr 2006 17:12:42 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sat, 08 Apr 2006 17:12:41 +0900 Message-ID: From: Hajimu UMEMOTO To: arch@FreeBSD.org, current@FreeBSD.org In-Reply-To: References: User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.1) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.3 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Sat, 08 Apr 2006 17:12:42 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: Subject: Re: [CFR] exposable reentrant functions of netdb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 08 Apr 2006 08:12:48 -0000 Hi, >>>>> On Wed, 05 Apr 2006 03:04:04 +0900 >>>>> Hajimu UMEMOTO said: ume> I reworked the netdb functions in our libc to conform to the Solaris's ume> API. With this change, we can expose get*_r(3) to the outside of ume> libc. Further, I changed the internal of gethostby*(3) and ume> getnetby*(3) to NSS friendly. It came to be thought that it was better to use glibc style API at the end about which it thought for a while. Because, glibc style API is more similar to getpw*_r(3) which is defined in POSIX. So, I changed to use glibc style API. You can get the patch from: http://www.imasy.or.jp/~ume/FreeBSD/netdb-glibc-api-20060407.diff.gz Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/