From owner-freebsd-current@FreeBSD.ORG Mon May 19 11:38:11 2003 Return-Path: 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 0D89337B408; Mon, 19 May 2003 11:38:08 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5522B43F3F; Mon, 19 May 2003 11:38:07 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h4JIbgOn061798; Mon, 19 May 2003 14:37:42 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h4JIbgmD061795; Mon, 19 May 2003 14:37:42 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 19 May 2003 14:37:42 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Terry Lambert In-Reply-To: <3EC8EDB3.BD714FFA@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: re@FreeBSD.org cc: current@FreeBSD.org Subject: Re: 5.1-RELEASE TODO X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 19 May 2003 18:38:12 -0000 On Mon, 19 May 2003, Terry Lambert wrote: > Robert Watson wrote: > > |-------------------+-------------+---------------+----------------------| > > | | | | Update the run-time | > > | rtld-elf | -- | Alexander | link editor (rtld) | > > | thread-safety | | Kabaev | thread-safe with | > > | | | | libpthread. | > > |-------------------+-------------+---------------+----------------------| > > According to chapter 12 of the "Go Solo 2" book, this is a bogus thing > to do. Callers are required to take a critical section over the calls > to the dl* functions because the dlerror() function uses a static buffer > that can be overwritten in a multi-threaded environment. Sadly, that insight doesn't seem to have influenced the development practices of a number of major application vendors :-(. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories