[PATCH v9 0/13] implement dlmem() function
Florian Weimer
fweimer@redhat.com
Wed Apr 5 09:31:53 GMT 2023
* Szabolcs Nagy via Libc-alpha:
> The 04/05/2023 12:29, stsp wrote:
>> - dl_iterate_phdr() seems to be calling the user
>> callback under dl_load_write_lock lock.
>
> this is a known bug.
It's also not something we can fix because the libgcc unwinder has code
on it that relies on this implicit loader lock to protect its internal
data structures. The libgcc unwinder can be statically linked, so we
can't remove the locking without adding a new symbol version.
I suspect other uses of dl_iterate_phdr are similar.
Thanks,
Florian
More information about the Libc-alpha
mailing list