about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-10 10:31:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-10 10:31:41 +0200
commit1c75f89613a0b2428c21c19598559a2d64221cde (patch)
tree55eb68a014e7e9a4bde5f9e095f03fa4bbb019a6 /sysdeps/unix/sysv/linux
parent321789f61aa93c14390535aa3cf01846633cd022 (diff)
downloadglibc-1c75f89613a0b2428c21c19598559a2d64221cde.tar.gz
glibc-1c75f89613a0b2428c21c19598559a2d64221cde.tar.xz
glibc-1c75f89613a0b2428c21c19598559a2d64221cde.zip
Linux: Explicitly disable cancellation checking in the dynamic loader
Historically, SINGLE_THREAD_P is defined to 1 in the dynamic loader.
This has the side effect of disabling cancellation points.  In order
to enable future use of SINGLE_THREAD_P for single-thread
optimizations in the dynamic loader (which becomes important once
more code is moved from libpthread), introduce a new
NO_SYSCALL_CANCEL_CHECKING macro which is always 1 for IS_IN (rtld),
indepdently of the actual SINGLE_THREAD_P value.

Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
0 files changed, 0 insertions, 0 deletions