git: kernel - Fix first-lwp access race vs process creation
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 12 14:50:13 PST 2019
commit 8b411d289cbd8e7ea393393340533d42b6751a43
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Nov 12 14:49:30 2019 -0800
kernel - Fix first-lwp access race vs process creation
* It is possible for a process to be looked up before its primary
lwp is installed. Make sure this doesn't crash the kernel.
Summary of changes:
sys/kern/sys_process.c | 6 ++++++
sys/vfs/procfs/procfs_subr.c | 9 ++++++++-
sys/vfs/procfs/procfs_vnops.c | 6 ++++++
3 files changed, 20 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8b411d289cbd8e7ea393393340533d42b6751a43
--
DragonFly BSD source repository
More information about the Commits
mailing list