[Bug 246385] SIGCHLD dropped if generated while blocked in sigfastblock
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 11 22:38:50 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246385
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kib
Date: Mon May 11 22:38:32 UTC 2020
New revision: 360940
URL: https://svnweb.freebsd.org/changeset/base/360940
Log:
sigfastblock: fix delivery of the pending signals in single-threaded
processes.
If single-threaded process receives a signal during critical section
established by sigfastblock(2) word, unblock did not caused signal
delivery because sigfastblock(SIGFASTBLOCK_UNBLOCK) failed to request
ast handling of the pending signals.
Set TDF_ASTPENDING | TDF_NEEDSIGCHK on unblock or when kernel forces
end of sigfastblock critical section, to cause syscall exit to recheck
and deliver any signal pending.
Reported by: corydoras at ridiculousfish.com
PR: 246385
Sponsored by: The FreeBSD Foundation
Changes:
head/sys/kern/kern_sig.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list