Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2021 01:30:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254774] [rtld] dl_iterate_phdr: dlpi_tls_data should be the iterated module's TLS image instead of TLS initialization image
Message-ID:  <bug-254774-227-5kKwWAT4Uk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254774-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254774

--- Comment #2 from Brandon Bergren <bdragon@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254774-227-5kKwWAT4Uk>