diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-10 10:31:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-10 10:31:41 +0200 |
commit | 1c75f89613a0b2428c21c19598559a2d64221cde (patch) | |
tree | 55eb68a014e7e9a4bde5f9e095f03fa4bbb019a6 /resource | |
parent | 321789f61aa93c14390535aa3cf01846633cd022 (diff) | |
download | glibc-1c75f89613a0b2428c21c19598559a2d64221cde.zip glibc-1c75f89613a0b2428c21c19598559a2d64221cde.tar.gz glibc-1c75f89613a0b2428c21c19598559a2d64221cde.tar.bz2 |
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 'resource')
0 files changed, 0 insertions, 0 deletions