Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2003 20:56:53 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: thread safe functions missing ... ?
Message-ID:  <20030914035653.GA94639@xor.obsecurity.org>
In-Reply-To: <20030913222303.H82880@ganymede.hub.org>
References:  <20030913222303.H82880@ganymede.hub.org>

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

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

On Sat, Sep 13, 2003 at 10:24:52PM -0300, Marc G. Fournier wrote:
>=20
> Can anyone comment on the following results from running a test program
> we've writen for PostgreSQL?  Should the following be thread-safe, either
> as themselves, or a different function we should be calling?
>=20
>=20
>  Your gethostbyname() is _not_ thread-safe

There is no thread-safe implementation on FreeBSD.

> Your getpwuid() is _not_ thread-safe

getpwuid_r()

Kris

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/Y+cEWry0BWjoQKURAhtgAJ0eLvUaEXoDpWIabiNWeG5hcXG4EgCcCWJE
/d1ZSNDDv+dFjvggh9JuAFU=
=ZXzF
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--


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