aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-10-31 19:30:19 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-11-27 20:55:35 +0100
commita2e8aa0d9ea648068d8be52dd7b15f1b6a008e23 (patch)
treee076480d85867a6d52938e9e9485c817e26d81b2 /libio
parentf63b73814f74032c0e5d0a83300e3d864ef905e5 (diff)
downloadglibc-a2e8aa0d9ea648068d8be52dd7b15f1b6a008e23.zip
glibc-a2e8aa0d9ea648068d8be52dd7b15f1b6a008e23.tar.gz
glibc-a2e8aa0d9ea648068d8be52dd7b15f1b6a008e23.tar.bz2
Block signals during the initial part of dlopen
Lazy binding in a signal handler that interrupts a dlopen sees intermediate dynamic linker state. This has likely been always unsafe, but with the new pending NODELETE state, this is clearly incorrect. Other threads are excluded via the loader lock, but the current thread is not. Blocking signals until right before ELF constructors run is the safe thing to do. Change-Id: Iad079080ebe7442c13313ba11dc2797953faef35
Diffstat (limited to 'libio')
0 files changed, 0 insertions, 0 deletions