]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r239301:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 22 Aug 2012 19:53:33 +0000 (19:53 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 22 Aug 2012 19:53:33 +0000 (19:53 +0000)
commit1d6ea6a1d6d5cfbfe1dd0cf3a37b2dcbdaf95836
tree0e6feae15d909a35eacbc70e511f26599d09913c
parentc0f985454389b28e7ccfa4c65ff934d7a1809101
MFC r239301:
Add a sysctl kern.pid_max, which limits the maximum pid the system is
allowed to allocate, and corresponding tunable with the same
name. Note that existing processes with higher pids are left intact.

MFC r239328:
Fix grammar.

MFC r239329:
As a safety measure, disable lowering pid_max too much.

git-svn-id: svn://svn.freebsd.org/base/stable/9@239582 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/init_main.c
sys/kern/kern_fork.c
sys/kern/kern_mib.c
sys/kern/kern_thread.c
sys/kern/subr_param.c
sys/nlm/nlm_advlock.c
sys/sys/proc.h