Adhemerval Zanella ce9b765522 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>

(cherry picked from commit 360cce0b066f34e85e473c04cdc16e6fa426021b)
2025-03-13 10:33:54 -03:00
..
2020-06-07 23:45:25 +00:00
2021-06-15 10:42:11 -03:00
2020-08-06 23:38:35 +00:00
2020-06-07 13:35:54 +02:00
2020-06-24 00:02:31 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-08-06 23:38:35 +00:00
2020-08-06 23:38:35 +00:00
2020-06-10 21:34:19 +00:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-10 21:34:19 +00:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-10 21:34:19 +00:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2021-06-15 10:42:11 -03:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2021-06-15 10:42:11 -03:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2023-05-10 13:15:13 -04:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00
2020-06-07 13:35:54 +02:00