Subject: Re: O_ASYNC on ttys
To: None <email@example.com>
From: maximum entropy <firstname.lastname@example.org>
Date: 07/07/2001 18:26:24
>Date: Sat, 7 Jul 2001 17:56:38 GMT
>From: email@example.com (Christos Zoulas)
>In article <200107071430.f67EU9N00590@saruman.ics.muni.cz>,
>Jarommr Dolecek <firstname.lastname@example.org> wrote:
>>der Mouse wrote:
>>> I couldn't see any harm in permitting TIOCSPGRP on ttys that aren't
>>> your control tty, provided they aren't anyone else's either, so I
>>> simply disabled the control-tty test for ttys that don't belong to a
>>This looks okay. Does revoke(2) check (and remove) the O_ASYNC flag?
>And you probably need to clear it when it joins a session too right?
I'm fairly certain that this change would break the POSIX conformance
of our tcsetpgrp(3).
entropy -- it's not just a good idea, it's the second law.