git: kernel - New LWPs shouldn't inherit pending signals
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 10 12:23:56 PST 2026
commit 921a8d18acc92cd14534c7536e5727a468e27d9d
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/921a8d18acc92cd14534c7536e5727a468e27d9d
--
DragonFly BSD source repository
More information about the Commits
mailing list