Re: 5.1-RELEASE TODO

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Mon, 19 May 2003 07:44:03 -0700
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
Received on Mon May 19 2003 - 05:45:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:08 UTC