]> sourceware.org Git - glibc.git/commit
i386: Avoid lazy relocation of tlsdesc [BZ #27137]
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 11 Feb 2021 11:40:11 +0000 (11:40 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 15 Apr 2021 08:47:43 +0000 (09:47 +0100)
commitddcacd91cc10ff92d6201eda87047d029c14158d
tree5ae083593f5a434d18a56d1118f691e235dab891
parent8f7e09f4dbdb5c815a18b8285fbc5d5d7bc17d86
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.
sysdeps/i386/dl-machine.h
This page took 0.038188 seconds and 5 git commands to generate.