Xref: utzoo comp.unix.wizards:25460 alt.security:2485 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!wuarchive!sdd.hp.com!news.cs.indiana.edu!att!princeton!njin!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.wizards,alt.security Subject: Re: BSD tty security, part 3: How to Fix It Message-ID: <24909:May803:25:0691@kramden.acf.nyu.edu> Date: 8 May 91 03:25:06 GMT References: <15369:May219:46:0491@kramden.acf.nyu.edu> <3739:May701:40:0591@kramden.acf.nyu.edu> <19105@sdcc6.ucsd.edu> Followup-To: misc.test Organization: IR Lines: 38 I apologize to the rest of the net for Muller's attempts to drag this thread into issues only relevant to the latest non-production release from Berkeley. There are no technical points in this article, and I have set followups appropriately. Hopefully the rest of us can continue to discuss issues of some importance under this subject line. In article <19105@sdcc6.ucsd.edu> muller@sdcc10.ucsd.edu (Keith Muller) writes: > For the sake of reducing net noise only one part of Dans message bears > comment..... ``Net noise''? For someone who's claimed in public that no BSD release has included u_ttyp when in fact they all have until Reno, you should learn to be both more careful and more polite. > > Obviously you don't understand what an I/O operation is. If someone is > > performing a read operation or write operation on a tty, he has already > > gotten past the access checks in the open file table, and terminating > > permission there doesn't stop the operations in progress. > Wrong. You failed to read my suggestion. The context, which you deleted, was your quote of *current* kernel code, and I responded likewise. I have been reading your suggestions. I do not find them relevant to this thread, because they do not fix tty problems on the vast majority of BSD-derived systems. If you wish to continue talking about changes that only have a positive effect under BSD 4.3-Reno, please start a new thread with an accurate subject line. Or, if you want your changes to be adopted, talk to Berkeley directly. As they are redoing the tty system anyway I doubt they'll listen. > For example here is a partial sample of the code. This will > work with the unmodified 4.3 Tahoe vhangup(). Sorry, but after your comments about u_ttyp I have to assume that when you say ``work'' you are referring to little more than proper syntax. ---Dan