From owner-cvs-all@FreeBSD.ORG Sun Aug 24 08:36:25 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 146901065698; Sun, 24 Aug 2008 08:36:25 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFE38FC50; Sun, 24 Aug 2008 08:36:24 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 2D7591CE61; Sun, 24 Aug 2008 10:36:23 +0200 (CEST) Date: Sun, 24 Aug 2008 10:36:23 +0200 From: Ed Schouten To: Robert Watson Message-ID: <20080824083623.GN99951@hoeg.nl> References: <200808231436.m7NEasMo005071@repoman.freebsd.org> <20080823215322.GJ99951@hoeg.nl> <20080823222745.GL99951@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Jd2S1KeUgTREicAB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/etc.amd64 ttys src/etc/etc.arm ttys src/etc/etc.i386 ttys src/etc/etc.ia64 ttys src/etc/etc.mips ttys src/etc/etc.powerpc ttys src/etc/etc.sparc64 ttys X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 08:36:25 -0000 --Jd2S1KeUgTREicAB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Robert Watson wrote: > > On Sun, 24 Aug 2008, Ed Schouten wrote: > >> * Robert Watson wrote: >>> So users using slightly old versions of screen, etc, shouldn't appear= =20 >>> in finger(1), w(1), or receive messages from biff(1), talk(1),=20 >>> write(1), wall(1), shutdown(8), and dump(8), all of which (I believe)= =20 >>> rely on utmp(5) to determine who is logged in and where? I'm sure=20 >>> that quite a few of these are of diminishing significance in the=20 >>> current world order (certainly biff is), but I'm not convinced that=20 >>> we should exclude users on historic tty devices from receiving=20 >>> advance notice of system shutdowns or dump events. >> >> Right now we're actually digging up the entire dynamic vs static=20 >> linkage discussion again. If people run a dynamically linked version of= =20 >> screen, xterm, etc, they are not affected (except libc.so.6 of course). > > I'm not sure I see such a tight congruence: historical applications don't= =20 > use the POSIX PTY calls, since they didn't exist or were unreliably=20 > implemented for many years. Instead, applications embedded the pty=20 > allocation policy in the same way they embed the BPF allocation policy,= =20 > which is to search a series of hard-coded names until they find a match. > >> The current /etc/ttys already seemed like an improvement when compared= =20 >> to the old one, where we spent 2 out of 3 entries on commonly unused=20 >> PTY names. What kind of ratio do you propose? > > For 256 lines in /etc/ttys, you can keep people's systems working with=20 > older applications. Doesn't seem like a big sacrifice -- it's not like= =20 > we're forcing Giant to be kept on part of the kernel, etc. Okay. Sounds okay. That means we've basically switched the priorities. First we had: - 512 entries for pty(4) - 256 entries for pts(4) Now we're going to switch it to: - 256 entries for pty(4) - 512 entries for pts(4) I'll only add the entries for tty[pqrsPQRS]. --=20 Ed Schouten WWW: http://80386.nl/ --Jd2S1KeUgTREicAB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkixHYcACgkQ52SDGA2eCwX7dACdEZbth4vKVnYcfMbwyahAtyqR hikAn33GgFDbmvt4H367zHsAD6ShMrtr =J9IO -----END PGP SIGNATURE----- --Jd2S1KeUgTREicAB--