[PATCH v2] elf: Release dl_load_lock before running dlopen constructors (BZ 15686)

Alexander Pevzner pzz@apevzner.com
Tue Jul 14 09:28:16 GMT 2026


Florian,

On 7/14/26 7:12 AM, Florian Weimer wrote:

> My concern regarding the removal of a lock that applications could
> previously rely on remains.
Could you please provide some example scenarios where applications could 
be broken due to this change?

AFAIK, the only guarantees that POSIX gives is that constructors are 
called on the context of the thread that called dlopen, and when dlopen 
returns, all constructors, associated with the just loaded DSO, are done.

-- 

	Wishes, Alexander Pevzner (pzz@apevzner.com)


More information about the Libc-alpha mailing list