Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 12/12/2002 22:54:59
Module Name: syssrc
Committed By: jdolecek
Date: Thu Dec 12 20:54:59 UTC 2002
Modified Files:
syssrc/sys/kern: kern_sysctl.c
Log Message:
don't allow kern.maxproc bigger than PID_MAX - PID_SKIP; the pid allocation
code in fork1() would enter endless loop if all the allowed pids are taken
by running processes
To generate a diff of this commit:
cvs rdiff -r1.120 -r1.121 syssrc/sys/kern/kern_sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.