aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-03-12 10:59:17 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-03-13 09:11:13 -0300
commit360cce0b066f34e85e473c04cdc16e6fa426021b (patch)
treebc14d9e004fb398704a8b5a27d72fbe766461037 /sysdeps/unix/sysv
parentdbc5a50d12eff4cb3f782129029d04b8a76f58e7 (diff)
downloadglibc-360cce0b066f34e85e473c04cdc16e6fa426021b.zip
glibc-360cce0b066f34e85e473c04cdc16e6fa426021b.tar.gz
glibc-360cce0b066f34e85e473c04cdc16e6fa426021b.tar.bz2
nptl: Check if thread is already terminated in sigcancel_handler (BZ 32782)
The SIGCANCEL signal handler should not issue __syscall_do_cancel, which calls __do_cancel and __pthread_unwind, if the cancellation is already in proces (and libgcc unwind is not reentrant). Any cancellation signal received after is ignored. Checked on x86_64-linux-gnu and aarch64-linux-gnu. Tested-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv')
0 files changed, 0 insertions, 0 deletions