Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 23:06:52 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r244154 - head/bin/ps
Message-ID:  <20121212210652.GO3013@kib.kiev.ua>
In-Reply-To: <201212121545.qBCFj4Hl086444@svn.freebsd.org>
References:  <201212121545.qBCFj4Hl086444@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--2suWxhRNFFJI65F9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Use kern.max_pid sysctl to obtain maximum PID number instead of using l=
ocal
>   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.

--2suWxhRNFFJI65F9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJQyPHsAAoJEJDCuSvBvK1B+UsP/1f1QyH8x9QbF4XiwZp5G1nh
ftyQ98ufISWu9+oorG2eQvWKXh5nue19oOneNNcKmxEk28tdZBJ1PO79zstqmHBq
0byXnn+iVM98dQsWkem7YO4fVfROm3gHg/Mkf0tiKJQKJLJKyqW/mIY8k3G/WEcg
D9ccDOhep++fdLbxY4EA0h6AasTa23iJ3XolKKr1QQ6a+NboRxQhePtg7y5rGbwe
5rxoU6u51h6TUHEzM3aafzlFhBE/iH8SB3wJCIL+s9RlibknM2LccknFYQrAS+Ib
Jrgk7hh/FeEX53zWPp/xVZI8nta4NWqHbIYGx/L3uEcgJzF4dAtz5ho7x8Wd77QS
y8uYLL9VeKnehGoMwNyZltfvUoHlDU7eCIz1bxHni7WutHJIVhm/y/Ifj+5BwDYX
xxe4fm5l/5VgH3nIaVy3hQVUzD32XezzN1YEODkbq9LfLzP+PWzgEEM60kzvL9Fb
Wj/SQO3ssGAcuBj1cqkYJijwC0U7aZqffpxg1c0SQLQ9UDRUBhkIiEvpGRh5Xn2/
G7YtqPKxRjjSI0N71p4vEhmWomc7xAqSRFthPLeCKWkr274HoyCFraYK8s5ikkm+
95KsanLbIiul2zi3xnOk3AMHsmLAnHWWvbmxF62I/rQyUGdBAhBAQtXO6F/VKZpP
x7uVF6Pw0PmM5BrZWhQd
=zrG7
-----END PGP SIGNATURE-----

--2suWxhRNFFJI65F9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121212210652.GO3013>