NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60962 CVS commit: [netbsd-11] src/sys
The following reply was made to PR kern/60962; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60962 CVS commit: [netbsd-11] src/sys
Date: Sun, 15 Nov 2026 12:37:02 +0000
Module Name: src
Committed By: martin
Date: Sun Nov 15 12:37:02 UTC 2026
Modified Files:
src/sys/kern [netbsd-11]: kern_exec.c kern_fork.c
src/sys/rump/librump/rumpkern [netbsd-11]: lwproc.c
Log Message:
Pull up following revision(s) (requested by riastradh in ticket #567):
sys/kern/kern_exec.c: revision 1.536
sys/kern/kern_fork.c: revision 1.237
sys/rump/librump/rumpkern/lwproc.c: revision 1.60
fork, posix_spawn: Avoid race with setsid/setpgid.
PR kern/60962: fork and spawn read p_pgrp without proc_lock
rump: Copy struct proc::p_pgrp explicitly
Now that it's not in p_startcopy/endcopy, the memcpy isn't enough.
Should fix the thousands of test failures I caused by moving p_pgrp
out of the p_startcopy/endcopy range!
PR kern/60962: fork and spawn read p_pgrp without proc_lock
To generate a diff of this commit:
cvs rdiff -u -r1.531.2.2 -r1.531.2.3 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.232.2.1 -r1.232.2.2 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.59 -r1.59.2.1 src/sys/rump/librump/rumpkern/lwproc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index