aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-10-01 18:16:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-10-01 18:18:15 +0200
commit40bade26d5bcbda3d21fb598c5063d9df62de966 (patch)
tree0cfa27079cc57e7741f48db6d1685451fd7196d0 /scripts/cpp
parent4bf72519987ebc2be4a2058c670379040fae90ea (diff)
downloadglibc-40bade26d5bcbda3d21fb598c5063d9df62de966.tar.xz
glibc-40bade26d5bcbda3d21fb598c5063d9df62de966.zip
nptl: pthread_kill must send signals to a specific thread [BZ #28407]
The choice between the kill vs tgkill system calls is not just about the TID reuse race, but also about whether the signal is sent to the whole process (and any thread in it) or to a specific thread. This was caught by the openposix test suite: LTP: openposix test suite - FAIL: SIGUSR1 is member of new thread pendingset. <https://gitlab.com/cki-project/kernel-tests/-/issues/764> Fixes commit 526c3cf11ee9367344b6b15d669e4c3cb461a2be ("nptl: Fix race between pthread_kill and thread exit (bug 12889)"). Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com> (cherry picked from commit eae81d70574e923ce3c59078b8df857ae192efa6)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions