From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 30 14:39:26 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A31A837B431 for ; Mon, 30 Jun 2003 14:39:26 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9396743FD7 for ; Mon, 30 Jun 2003 14:39:23 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id AE38F66E2B; Mon, 30 Jun 2003 14:39:16 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id B2BE4766; Mon, 30 Jun 2003 14:39:16 -0700 (PDT) Date: Mon, 30 Jun 2003 14:39:16 -0700 From: Kris Kennaway To: Stijn Hoop Message-ID: <20030630213916.GA71908@rot13.obsecurity.org> References: <20030630144327.GB11983@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20030630144327.GB11983@pcwin002.win.tue.nl> User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: Re: gethostbyname_r X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 21:39:27 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 30, 2003 at 04:43:27PM +0200, Stijn Hoop wrote: > Hi, >=20 > I was wondering if anybody was working on an implementation of a reentrant > gethostbyname_r function, mostly because it looks like mozilla/firebird w= ill > finally gain support for an async DNS thread in the near future. However, > it is claimed in Mozilla's bug reporting system that FreeBSD 5.x doesn't > have support for this. See >=20 > http://bugzilla.mozilla.org/show_bug.cgi?id=3D70213#c36 >=20 > A quick grep -r in /usr/src shows only hits in contrib, so it's probably > true that it's not implemented. There was a bogus non-reentrant version half-implemented in libc in both 4.x and 5.x, which I recently removed in 5.x. I need to remove it on 4.x as well. General consensus seems to be that implementing it properly is Hard. Kris --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/AK4EWry0BWjoQKURAuUaAJ90TecvYlHoE0MnceEZ33VT7izGhACdHVhl zh2HqsPp2ITjZAuTG/dv+do= =PH0f -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--