From owner-freebsd-current@FreeBSD.ORG Wed Aug 20 18:19:38 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BF29E24 for ; Wed, 20 Aug 2014 18:19:38 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEAB2359B for ; Wed, 20 Aug 2014 18:19:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s7KIJbnh008669 for ; Wed, 20 Aug 2014 18:19:37 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s7KIJbof008663 for freebsd-current@freebsd.org; Wed, 20 Aug 2014 18:19:37 GMT (envelope-from bdrewery) Received: (qmail 52885 invoked from network); 20 Aug 2014 13:19:36 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 20 Aug 2014 13:19:36 -0500 Message-ID: <53F4E6B3.7060209@FreeBSD.org> Date: Wed, 20 Aug 2014 13:19:31 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Julian Elischer , Davide Italiano , freebsd-current Subject: Re: RFC: Remove pty(4) References: <53F4E544.9070606@freebsd.org> In-Reply-To: <53F4E544.9070606@freebsd.org> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mx3vo1gnDsHI59IVJCgT3hF4bL8QrBHTM" Cc: Ed Schouten X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 18:19:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Mx3vo1gnDsHI59IVJCgT3hF4bL8QrBHTM Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/20/2014 1:13 PM, Julian Elischer wrote: > On 8/20/14, 11:00 AM, Davide Italiano wrote: >> One of my personal goals for 11 is to get rid of cloning mechanism >> entirely, and pty(4) is one of the few in-kernel drivers still relying= >> on such mechanism. >> It's not possible, at least to my understanding, converting pty(4) to >> cdevpriv(9) as happened with other drivers. This is mainly because we >> always need a pair of devices (/dev/ptyXX and /dev/ttyXX) and >> userspace loops over ptyXX and after it successfully opens it tries to= >> open the other one with the same suffix. So, having a single device is= >> not really enough. >> My option, instead, is that of removing pty(4), which is nothing more >> than a compatibility driver, and move pmtx(4) code somewhere else. >> The main drawback of the removal of this is that it makes impossible >> to run FreeBSD <=3D 7 jails and SSH into them. I personally don't >> consider this a huge issue, in light of the fact that FreeBSD-7 has >> been EOL for a long time, but I would like to hear other people >> comments. >> >> The code review for the proposed change can be found here: >> https://reviews.freebsd.org/D659 >> >> If I won't get any objection I'll commit this in one week time, i.e. >> August 27th. > I agree with Alfred. > breaking old jails is a no no. > many people still use them. Me included. > I sometimes run jails back to 1.1, > not everything works, but enough does to build 1.1 binaries for certain= > devices. +1 to keeping compat. --=20 Regards, Bryan Drewery --Mx3vo1gnDsHI59IVJCgT3hF4bL8QrBHTM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJT9Oa0AAoJEDXXcbtuRpfPBY0H/RvFmD+8k8Z8mV+4+v+TAzAw Gnj3lJ6lrtgYTPKExTFcerpGBZI94JON+laQTBIf8OPFWgzI3ZMWhIIgqr1Lrx9r NbxAMV1xdREt04PWfmLprH7kfxnPJOVXaY2Fa+ozX9r1sByXBtOgnphF9ASiiXOp aRAhH6I1X5ByGNv3KVrImonFXuBhigGMzYmzCV1ZG+FsTIHxX2PC0Wv+JMZYKhfs 1taWe/Gq384AH9xjAjUI2w/FrX2BLyjN8IfbnZGeiwobNikNLDdgbx96S05gep83 Aw3Cz4DZ07lPtnhCNy7Edhmu/Cm+rjIqkwfe8WOonoMDENXmIAKNrNTuFV90ZQM= =VtHH -----END PGP SIGNATURE----- --Mx3vo1gnDsHI59IVJCgT3hF4bL8QrBHTM--