Subject: Re: O_ASYNC on ttys
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 07/07/2001 17:56:38
In article <>,
Jarommr Dolecek <> 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
>> session:
>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?