Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2584961imm; Thu, 11 Oct 2018 12:40:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV61lfuAlwszDITLa9lYD/iQW+YHaJE2Ml+1PDirNsjV8P/q7nnYWpGeE+xbi51Av4bhnLnLD X-Received: by 2002:a63:608c:: with SMTP id u134-v6mr2561560pgb.266.1539286810812; Thu, 11 Oct 2018 12:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539286810; cv=none; d=google.com; s=arc-20160816; b=c5PNr7wP+1C/oJCXKsMZOfEHOuh7xiDw55f4jB9aagXTQ8Z3zhN4rbOLxW7pbO7CVs v1Il8B0tGKOkO79pdYzSsFHTiOV4GwOYUx7Myn/pudvcLN8/0Hu2SJr0135R71VQgmT/ YHCQr31Dye27HN+F7MNCpTVKKrS1Jfbu49zfIeCxX3ia60wBReyX6+oEmPg66sUtZr4K DIiJSpnuJdQNk4WL7d9WwD0HPFO/O+bhXv4sQ73yZD00a8pIUKA6VpY3Mf0H8JlIGorj q/56kNMQRiz2HWPDG0ItrchivlZYAAMRmgodLgA2GSa6hyDrFJQCEnWWbpu8h19vh3SI NHdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=MSL7k+w4gGFElxQd7YgIT0r5zQsZVYMnAF01Ig7wIlQ=; b=A6o1YPrYeaEL0R4ojxuf1ADM3P8JkN0uPCt+7GOSU0nALSX5+MXR00B1/9DPlTHw47 etwDHYRSzD6l4ksHdLaoMEVYairNyUrakALsHwPV7jKgVNXMP0YycWICcM5ju+pnZ+ni oDp2SyDmEH98qtZ1Fu3XetC/f1senDKTiBAmPBtyBrHzLYKmPezQPqUqLIjpgP3DbLGZ 5+Qv3jdk6HDVJDgcIT8Twkxh6leifLAZVjamUF9fftqgRCE3yXfsnMf69F/PoxuFwPeK HNI1DgcxVrKmdQOwLYCyaisjZvJ0MMgUdgMLPt1CZtwmH8NHwWp/3G2shgGM8EcpsLS3 Vwlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n20-v6si15403730pgf.210.2018.10.11.12.39.55; Thu, 11 Oct 2018 12:40:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727464AbeJLDIR (ORCPT + 99 others); Thu, 11 Oct 2018 23:08:17 -0400 Received: from terminus.zytor.com ([198.137.202.136]:60667 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbeJLDIR (ORCPT ); Thu, 11 Oct 2018 23:08:17 -0400 Received: from carbon-x1.hos.anvin.org (c-24-5-245-234.hsd1.ca.comcast.net [24.5.245.234] (may be forged)) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id w9BJdQpB2026798 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 11 Oct 2018 12:39:26 -0700 Subject: Re: Insanely high baud rates To: Craig Milo Rogers , Alan Cox Cc: linux-serial@vger.kernel.org, Linux Kernel Mailing List , Greg Kroah-Hartman , Jiri Slaby , Johan Hovold , Alexander Viro References: <3fcef1c1-d746-ae82-c0e6-f079b1a53ffb@zytor.com> <20181010211717.30c1f052@alans-desktop> <16D6AB22-697E-498C-A5B2-3AD90B567E86@zytor.com> <20181011133134.085624af@alans-desktop> <20181011193651.GA11500@isi.edu> From: "H. Peter Anvin" Message-ID: Date: Thu, 11 Oct 2018 12:39:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181011193651.GA11500@isi.edu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/11/18 12:36 PM, Craig Milo Rogers wrote: > On 18.10.11, Alan Cox wrote: >> I mean - what is the baud rate of a pty ? > > Solaris made the distinction between B0, which means pty hangup mode, > and any other baud rate: > > https://docs.oracle.com/cd/E88353_01/html/E37851/pty-4d.html > > But... why not implement a pty bandwidth limitation layer? You say, I > need to justify it? It's for, uh... protecting the system from unrestricted > pty usage DOS attacks! Yeah. That's what it's for. B0 is hangup, that's not in question. -hpa