Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!drutx!houxe!hogpc!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!akgua!mcnc!decvax!harpo!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.UUCP
Newsgroups: net.bugs,net.unix
Subject: Re: Why 4BSD 'stty' uses stdout instead of stdin
Message-ID: <3954@brl-tgr.UUCP>
Date: Tue, 14-Aug-84 12:24:30 EDT
Article-I.D.: brl-tgr.3954
Posted: Tue Aug 14 12:24:30 1984
Date-Received: Tue, 21-Aug-84 00:39:34 EDT
References: <895@trwrb.UUCP> <1228@dalcs.UUCP> <747@dual.UUCP> <46@rlgvax.UUCP> <318@wucs.UUCP> <5024@utcsrgv.UURe: Why 4BSD 's
Lines: 18

Relay-Version: version B 2.10 5/3/83 based; site houxm.UUCP
Posting-Version: version B 2.10.1 6/24/83; site brl-tgr.ARPA
Message-ID: <3954@brl-tgr.ARPA>
Date: Tue, 14-Aug-84 12:24:30 EDT
Date-Received: Mon, 20-Aug-84 15:28:50 EDT

tty' uses stdout instead of stdin
Organization: Ballistics Research Lab
Lines: 8

So long as ioctl requires a file descriptor, the normal access
permissions on a terminal special file suffice for protection.
At BRL, general terminals do not have write permission enabled;
rather, the execute bit indicates whether a "write" or "talk"
connection is permitted, and the utilities dealing with this
have all been changed to understand the convention.  This pretty
much solves the problem of obnoxious users messing around with
your terminal from elsewhere.