diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-02-11 11:40:11 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-04-15 09:47:43 +0100 |
commit | ddcacd91cc10ff92d6201eda87047d029c14158d (patch) | |
tree | 5ae083593f5a434d18a56d1118f691e235dab891 /libio/wmemstream.c | |
parent | 8f7e09f4dbdb5c815a18b8285fbc5d5d7bc17d86 (diff) | |
download | glibc-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 'libio/wmemstream.c')
0 files changed, 0 insertions, 0 deletions