The branch main has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=18f4c84fef10a6a4b491077584a079e442fdcc06
commit 18f4c84fef10a6a4b491077584a079e442fdcc06 Author: ShengYi Hung <[email protected]> AuthorDate: 2026-12-01 02:25:24 +0000 Commit: ShengYi Hung <[email protected]> CommitDate: 2026-12-04 07:08:23 +0000 libthr: Unblock signal using correct variable Reviewed by: kib MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D62262 --- lib/libthr/thread/thr_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c index 1b3720522191..0dc1432cb2be 100644 --- a/lib/libthr/thread/thr_exit.c +++ b/lib/libthr/thread/thr_exit.c @@ -243,7 +243,7 @@ exit_common(void *status, sigset_t *mask, bool unwind __unused) curthread->unblock_sigcancel = 0; SIGEMPTYSET(set); SIGADDSET(set, SIGCANCEL); - __sys_sigprocmask(SIG_UNBLOCK, mask, NULL); + __sys_sigprocmask(SIG_UNBLOCK, &set, NULL); } /* Save the return value: */
