Skip to content
Commit bfe68fe3 authored by Florian Weimer's avatar Florian Weimer
Browse files

nptl: Do not set signal mask on second setjmp return [BZ #28607]



__libc_signal_restore_set was in the wrong place: It also ran
when setjmp returned the second time (after pthread_exit or
pthread_cancel).  This is observable with blocked pending
signals during thread exit.

Fixes commit b3cae39d
("nptl: Start new threads with all signals blocked [BZ #25098]").

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit e186fc5a)
parent a4f3bc23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment