From owner-svn-src-head@FreeBSD.ORG Tue Dec 18 05:45:30 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 715D9526; Tue, 18 Dec 2012 05:45:30 +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 0C06D8FC12; Tue, 18 Dec 2012 05:45:29 +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 qBI5jQGh032414; Tue, 18 Dec 2012 07:45:26 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.3 kib.kiev.ua qBI5jQGh032414 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qBI5jQeO032413; Tue, 18 Dec 2012 07:45:26 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 18 Dec 2012 07:45:26 +0200 From: Konstantin Belousov To: Pawel Jakub Dawidek Subject: Re: svn commit: r244154 - head/bin/ps Message-ID: <20121218054526.GL71906@kib.kiev.ua> References: <201212121545.qBCFj4Hl086444@svn.freebsd.org> <20121212210652.GO3013@kib.kiev.ua> <20121213111240.GB1381@garage.freebsd.pl> <201212141152.15567.jhb@freebsd.org> <20121214214246.GB1411@garage.freebsd.pl> <20121215011300.GN71906@kib.kiev.ua> <20121217131834.GC1363@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NqBeRcvybb6C9jMF" Content-Disposition: inline In-Reply-To: <20121217131834.GC1363@garage.freebsd.pl> 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, Julian Elischer , John Baldwin 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: Tue, 18 Dec 2012 05:45:30 -0000 --NqBeRcvybb6C9jMF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 17, 2012 at 02:18:35PM +0100, Pawel Jakub Dawidek wrote: > On Sat, Dec 15, 2012 at 03:13:00AM +0200, Konstantin Belousov wrote: > > On Fri, Dec 14, 2012 at 10:42:47PM +0100, Pawel Jakub Dawidek wrote: > > > In that case I'd prefer to make existing kern.pid_max sysctl read-only > > > and make it loader tunable. I don't expect there are many users of th= is > > > sysctl... > > >=20 > > No, I described you the purpose of the sysctl. Requiring reboot just for > > running the old binaries is not useful. Please do not break it. >=20 > Kostik. How many users of this sysctl are there? 2? 3? Is it really > worth introducing yet another sysctl to export PID_MAX from the kernel? > I think if someone decides to run 1.x binary there will be some > inconvenience apart from the need to reboot. I always surprised when users of the old ABIs appear, but trust me, there is more than you would like. I do not see why should we break existing feature. The only thing you need to have on both i386 and amd64 right now for a.out execution is a suitable COMPAT_ options included into the kernel config. Everything else is dynamically adjustable, including the binary format support and knobs needed mostly to allow the compatibility environment. The sysctl kern.pid_max is one of them, other is security.bsd.map_at_zero. So I object against breaking this feature. Please add a sysctl you need, if 99999 should be changed for some reasons. --NqBeRcvybb6C9jMF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQ0AL1AAoJEJDCuSvBvK1BpRMP/0pX81r4jXr9ZhzDFaNOYa9g piyTU+vz1hb7OzXfU9fdErDg01elmx0ZkFzAyiI3IAQ6omQp2hMMS1168xKEdHvL EncArA+zQvtXqMV+0DV/qzDKRAethIqMFl37/iM0IRm8G+3F2G/cvPJdkXJWJ3ZN ln0lrWGX9z4tXi4BXY7mteUOLdp6fMQFjP8ivo8JhOXNwIRiOx0gDJ0esoocTjF9 UE3203JiVygWxrZT9Rlewf7sMM5DYB7euiEhHYhoR3R2tKO21q+ADUMAcnO4Y/bf qDd+bWRojGkGxrNpsU3NylapHnvcFZ1Oz9SQPY201O3crQsMYr3RL2KRvZrPFhUA EQW5Tcp009xIvsvMY8jqbmsZL/MshCRnObL1S/hXdqlGSMQ9QIoqtkueI2Yad1O6 JolGDd0F/gIVomBLI/kkiZay4Dqxy9fVbGBzbnud+kehFCVV71FeNQBCrTT07vvb wLvD9qDgrhtfLUwFDmt14zGUwCXxyhue/QkfwO4uw7vetBtfYDHbXWGz7h7RCGTb /2MppaS50kGha4dAb2FPEQ0+WdMu2SWOkQhxLVn6e6TsFdCRmw62bSamWqUKDUHq mcw85id/Y2HA6iOCWXdiXKH8ZmUO+UKsPLhgsbOKy4t8BWg3Q6aexMVRAwkirnhk 3jqHpdi/2lQLO31q+rzj =cpQr -----END PGP SIGNATURE----- --NqBeRcvybb6C9jMF--