From owner-freebsd-arch@FreeBSD.ORG Wed Apr 9 16:21:55 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B487106564A for ; Wed, 9 Apr 2008 16:21:55 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id D2D868FC0A for ; Wed, 9 Apr 2008 16:21:54 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 3242917104; Wed, 9 Apr 2008 16:21:53 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.2/8.14.2) with ESMTP id m39GLrFD050459; Wed, 9 Apr 2008 16:21:53 GMT (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 09 Apr 2008 10:16:29 CST." <20080409.101629.-146244298.imp@bsdimp.com> Date: Wed, 09 Apr 2008 16:21:53 +0000 Message-ID: <50458.1207758113@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@freebsd.org, jhein@timing.com Subject: Re: tt_ioctl X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2008 16:21:55 -0000 In message <20080409.101629.-146244298.imp@bsdimp.com>, "M. Warner Losh" writes : >In message: <50325.1207757374@critter.freebsd.dk> > "Poul-Henning Kamp" writes: >: In message <18428.59782.318085.53492@gromit.timing.com>, John E Hein writes: >: >: >That said... if we do decide to _not_ hook up t_ioctl, then we should >: >just remove it entirely since it's misleading that it's there but not >: >hooked up. >: >: Well, if we agree that you should use a non-tty device, we may still >: miss the poster child ioctl to make the decision... > >I don't think we agreed that should use a non-tty device. There's >good reasons to allow ioctls passed through to the driver. Yes, but these particular ioctls don't sound anything like that reason. If you make them available, you either have to make them unavailable when the tty is used as a login terminal (either by the documentation wise laborious cua/tty split or by other worse means) If you make them available on a separate device, that entire issue disappears. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.