From owner-freebsd-stable@FreeBSD.ORG Sat Sep 13 20:56:58 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3BC016A4BF for ; Sat, 13 Sep 2003 20:56:58 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA51843F3F for ; Sat, 13 Sep 2003 20:56:53 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3AA9766D6A; Sat, 13 Sep 2003 20:56:53 -0700 (PDT) Date: Sat, 13 Sep 2003 20:56:53 -0700 From: Kris Kennaway To: "Marc G. Fournier" Message-ID: <20030914035653.GA94639@xor.obsecurity.org> References: <20030913222303.H82880@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20030913222303.H82880@ganymede.hub.org> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org Subject: Re: thread safe functions missing ... ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 03:56:58 -0000 --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--