Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2003 14:52:01 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Wes Peters <wes@softweyr.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: gethostbyname_r
Message-ID:  <20030702215201.GA82686@rot13.obsecurity.org>
In-Reply-To: <200307021445.49545.wes@softweyr.com>
References:  <20030630144327.GB11983@pcwin002.win.tue.nl> <20030630213916.GA71908@rot13.obsecurity.org> <200307021445.49545.wes@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 02, 2003 at 02:45:49PM -0700, Wes Peters wrote:
> On Monday 30 June 2003 14:39, Kris Kennaway wrote:
> > On Mon, Jun 30, 2003 at 04:43:27PM +0200, Stijn Hoop wrote:
> > > Hi,
> > >
> > > I was wondering if anybody was working on an implementation of a
> > > reentrant gethostbyname_r function, mostly because it looks like
> > > mozilla/firebird will 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
> > >
> > > http://bugzilla.mozilla.org/show_bug.cgi?id=3D70213#c36
> > >
> > > 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.
>=20
> Yes, it is, or at least was in 4.x.  I thought we got a shiny new=20
> gethostbyname_r with Jacques Vidrine's nss implementation in 5.0,=20
> though.  Is this not right?

AFAIK, it is not.

Kris

--r5Pyd7+fXNt84Ff3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/A1QBWry0BWjoQKURAjh3AKCBYnAwDSqJOZ/wfZp61BovS3mSnwCgx0+/
gObL+hIQGApQJuTlJjg3XXM=
=nWCu
-----END PGP SIGNATURE-----

--r5Pyd7+fXNt84Ff3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702215201.GA82686>