summary refs log tree commit diff
path: root/posix/tst-getaddrinfo2.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-02-11 11:40:11 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-04-15 09:47:43 +0100
commitddcacd91cc10ff92d6201eda87047d029c14158d (patch)
tree5ae083593f5a434d18a56d1118f691e235dab891 /posix/tst-getaddrinfo2.c
parent8f7e09f4dbdb5c815a18b8285fbc5d5d7bc17d86 (diff)
downloadglibc-ddcacd91cc10ff92d6201eda87047d029c14158d.tar.gz
glibc-ddcacd91cc10ff92d6201eda87047d029c14158d.tar.xz
glibc-ddcacd91cc10ff92d6201eda87047d029c14158d.zip
i386: Avoid lazy relocation of tlsdesc [BZ #27137]
Lazy tlsdesc relocation is racy because the static tls optimization and
tlsdesc management operations are done without holding the dlopen lock.

This similar to the commit b7cf203b5c17dd6d9878537d41e0c7cc3d270a67
for aarch64, but it fixes a different race: bug 27137.

On i386 the code is a bit more complicated than on x86_64 because both
rel and rela relocs are supported.
Diffstat (limited to 'posix/tst-getaddrinfo2.c')
0 files changed, 0 insertions, 0 deletions