Date: Mon, 19 May 2003 14:37:42 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: Terry Lambert <tlambert2@mindspring.com> Cc: current@FreeBSD.org Subject: Re: 5.1-RELEASE TODO Message-ID: <Pine.NEB.3.96L.1030519143701.59393H-100000@fledge.watson.org> In-Reply-To: <3EC8EDB3.BD714FFA@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030519143701.59393H-100000>