[Bug 254774] [rtld] dl_iterate_phdr: dlpi_tls_data should be the iterated module's TLS image instead of TLS initialization image
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 5 01:30:39 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254774
--- Comment #2 from Brandon Bergren <bdragon at FreeBSD.org> ---
It looks like on ours, computing the address with __tls_get_addr will as a side
effect do any deferred allocations / dtv resizing due to the tls_dtv_generation
check happening at that time.
Not sure if it's desired or not that these outstanding changes happen whenever
doing dl_iterate_phdr, or if it's more useful to give some insight as to what
is currently allocated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list