]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld dl_iterate_phdr(): dlpi_tls_data is wrong
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 5 Apr 2021 03:05:44 +0000 (06:05 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 6 Apr 2021 00:23:08 +0000 (03:23 +0300)
commitd36d6816151705907393889d661cbfd25c630ca8
tree7d105ce0cfee5f3754f917743d4cf7de209070e2
parent843d16436d3388c1b46d37fca4e86885612d0e64
rtld dl_iterate_phdr(): dlpi_tls_data is wrong

dl_iterate_phdr() dlpi_tls_data should provide the TLS module segment
address, and not the TLS init segment address as it does now.

Reported by: emacsray@gmail.com
PR: 254774
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
lib/libc/gen/dl_iterate_phdr.3
libexec/rtld-elf/Symbol.map
libexec/rtld-elf/rtld.1
libexec/rtld-elf/rtld.c
sys/sys/param.h