NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60962 CVS commit: [netbsd-10] 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-10] src/sys
Date: Sun, 15 Nov 2026 12:43:32 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Nov 15 12:43:32 UTC 2026
 
 Modified Files:
 	src/sys/kern [netbsd-10]: kern_exec.c kern_fork.c
 	src/sys/rump/librump/rumpkern [netbsd-10]: lwproc.c
 
 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1410):
 
 	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.518.4.5 -r1.518.4.6 src/sys/kern/kern_exec.c
 cvs rdiff -u -r1.229.4.1 -r1.229.4.2 src/sys/kern/kern_fork.c
 cvs rdiff -u -r1.52 -r1.52.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