Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 07:44:03 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        re@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   Re: 5.1-RELEASE TODO
Message-ID:  <3EC8EDB3.BD714FFA@mindspring.com>
References:  <200305171300.h4HD0FH6042581@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- Terry



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