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

Alexander Pevzner <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
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 ([email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.