svn commit: r244154 - head/bin/ps

Konstantin Belousov kostikbel at gmail.com
Wed Dec 12 21:07:05 UTC 2012


On Wed, Dec 12, 2012 at 03:45:04PM +0000, Pawel Jakub Dawidek wrote:
> Author: pjd
> Date: Wed Dec 12 15:45:03 2012
> New Revision: 244154
> URL: http://svnweb.freebsd.org/changeset/base/244154
> 
> Log:
>   Use kern.max_pid sysctl to obtain maximum PID number instead of using local
>   define.
It is pid_max, not max_pid.

But the change is wrong. The kern.pid_max only limits newly allocated pids,
it does not magically moves existing pids, which are out of range, to the
limited region. See the corresponding commit log for the description.
It was added to make it easier to run FreeBSD 1.x binaries on the modern
kernels.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121212/0ffd8840/attachment.sig>


More information about the svn-src-head mailing list