git: DragonFly_RELEASE_6_4 kernel - New LWPs shouldn't inherit pending signals
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 10 12:24:34 PST 2026
commit 69974cb6f2c2404cdcc2f55b72d38101ae52b507
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Nov 10 11:19:16 2026 -0800
kernel - New LWPs shouldn't inherit pending signals
* The creation of a new LWP thread should not inherit any signals
pending on the current thread.
* Fix by adjusting the copy set, moving lwp_cpumask and lwp_siglist
out of the set. Fixup lwp_cpumask, and allow lwp_siglist to be
left empty.
* This should fix rare races with certain thread-heavy applications.
Reported-by: tuxillo
PR: 3468
Summary of changes:
sys/kern/kern_fork.c | 10 ++++++----
sys/sys/proc.h | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/69974cb6f2c2404cdcc2f55b72d38101ae52b507
--
DragonFly BSD source repository
More information about the Commits
mailing list