diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-03-12 10:59:17 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-03-13 09:11:13 -0300 |
commit | 360cce0b066f34e85e473c04cdc16e6fa426021b (patch) | |
tree | bc14d9e004fb398704a8b5a27d72fbe766461037 /sysdeps/unix | |
parent | dbc5a50d12eff4cb3f782129029d04b8a76f58e7 (diff) | |
download | glibc-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')
0 files changed, 0 insertions, 0 deletions