freebsd-nq/libexec/rtld-elf/rtld-libc
Konstantin Belousov 7cb32a0d03 rtld: avoid recursing on rtld_bind_lock for write
This fixes a regression in d36d681615, where the call to
__tls_get_address() was performed under rtld_bind_lock write-locked.
Instead use tls_get_addr_slow() directly, with locked = true.

Reported by:	jkim, many others
Tested by:	jkim, bdragon (powerpc), mhorne (riscv)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D29623
2021-04-09 23:46:24 +03:00
..
libc_private.h
Makefile.inc rtld: avoid recursing on rtld_bind_lock for write 2021-04-09 23:46:24 +03:00
namespace.h
rtld_libc.c
rtld_libc.h
un-namespace.h