Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!vaxine!wjh12!genrad!grkermit!masscomp!clyde!floyd!harpo!decvax!ittvax!swatt
From: swatt@ittvax.UUCP
Newsgroups: net.unix
Subject: Re:  Transmitting BREAK
Message-ID: <1315@ittvax.UUCP>
Date: Tue, 28-Feb-84 09:13:32 EST
Article-I.D.: ittvax.1315
Posted: Tue Feb 28 09:13:32 1984
Date-Received: Wed, 29-Feb-84 10:42:17 EST
References: rlgvax.1739
Lines: 16

Guy Harris writes:

	Berkeley UNIX is the only "major" version which puts "file
	descriptor must be open for reading/writing" restrictions on
	"ioctl"s.  S3/S5 don't, but then again, neither did V7.

This is not true for 4.1; I haven't seen 4.2.  The code in "tty.c"
for the "ttioctl" function has a comment to the effect that if the
ioctl function changes the behavior of the device, insist on write
permission and suspend background processes.  However, the code to
enforce the write permission requirement is commented out.  The
manual page for ioctl(2) incorrectly claims the behavior Guy noted.

Has this changed in 4.2?

	- Alan S. "always insist on sources!" Watt