From owner-svn-src-head@FreeBSD.ORG Wed Dec 12 21:07:05 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7693782E; Wed, 12 Dec 2012 21:07:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id CEB198FC0C; Wed, 12 Dec 2012 21:07:04 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qBCL6rsU047192; Wed, 12 Dec 2012 23:06:53 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.1 kib.kiev.ua qBCL6rsU047192 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qBCL6rKk047191; Wed, 12 Dec 2012 23:06:53 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 12 Dec 2012 23:06:52 +0200 From: Konstantin Belousov To: Pawel Jakub Dawidek Subject: Re: svn commit: r244154 - head/bin/ps Message-ID: <20121212210652.GO3013@kib.kiev.ua> References: <201212121545.qBCFj4Hl086444@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2suWxhRNFFJI65F9" Content-Disposition: inline In-Reply-To: <201212121545.qBCFj4Hl086444@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 21:07:05 -0000 --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--