From owner-freebsd-current@FreeBSD.ORG Wed Aug 20 23:46:23 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5B297A7; Wed, 20 Aug 2014 23:46:23 +0000 (UTC) Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8110A34DB; Wed, 20 Aug 2014 23:46:23 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id hq11so9962654vcb.2 for ; Wed, 20 Aug 2014 16:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KGzfOpC29+NnqDPFkOr6f7sTSICwtJf5/6h2RQuhGiI=; b=CknxcyXxeQFNM6Z4DXrOpMaCzstqbzhf4+V9lwH+LKIQLsr8Jai4n0u+ujq4n2J2fj sQ1TqW9hryIQh/vYqRMBK2lbtLl91ZOFYAD7qDtQQGzcbcKmxYxJ5s4ArsUQtnUBMtg2 NNy1IKNYhbDVPH4Sg0rZrbk5H+v9pgmroYJy6zYTxaZdBoPFIF0WqC+onZt+tJGNS/xK MMbX8c7mzJY3rM8QjbM3tngNeWSwLBas24+JvK82JC1QZnSAZi4+GTu8f9x8UXRIN7ZL pIPU9AIw8LnZ7iEUZdaqLSiLyittE8GLfVDruoD2Z14/TvDEcISwLF1MsDptTv14o9hX MwrQ== MIME-Version: 1.0 X-Received: by 10.220.74.10 with SMTP id s10mr4089221vcj.61.1408578382635; Wed, 20 Aug 2014 16:46:22 -0700 (PDT) Received: by 10.221.18.133 with HTTP; Wed, 20 Aug 2014 16:46:22 -0700 (PDT) Received: by 10.221.18.133 with HTTP; Wed, 20 Aug 2014 16:46:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Aug 2014 18:46:22 -0500 Message-ID: Subject: Re: RFC: Remove pty(4) From: "Sam Fourman Jr." To: Davide Italiano Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Ed Schouten , FreeBSD Current 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 23:46:23 -0000 Sam Fourman Jr. On Aug 20, 2014 1:00 PM, "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 <= 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. > > -- > Davide > I am all for the advancement of FreeBSD, but I for one maintain appliance products based on 7.x, most of the time I vote for out with the old in with the new... But are we certain all options for keeping compat have been explored? Just my 2c Sam Fourman Jr. > "There are no solved problems; there are only problems that are more > or less solved" -- Henri Poincare > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"