Date: Mon, 11 May 2020 22:38:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246385] SIGCHLD dropped if generated while blocked in sigfastblock Message-ID: <bug-246385-227-xFUU80HBpP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246385-227@https.bugs.freebsd.org/bugzilla/> References: <bug-246385-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246385 --- Comment #1 from commit-hook@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@ridiculousfish.com PR: 246385 Sponsored by: The FreeBSD Foundation Changes: head/sys/kern/kern_sig.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246385-227-xFUU80HBpP>