Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 07:45:26 +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, Julian Elischer <julian@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r244154 - head/bin/ps
Message-ID:  <20121218054526.GL71906@kib.kiev.ua>
In-Reply-To: <20121217131834.GC1363@garage.freebsd.pl>
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>

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

--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--



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