Re: How to lock current->signal->tty

Alan Cox
2006-08-08T15:25:19Z

Ar Maw, 2006-08-08 am 08:10 -0700, ysgrifennodd Arjan van de Ven:
> > Unfortunately:
> > Dquot passes the tty to tty_write_message without locking
> > arch/ia64/kernel/unanligned seems to write to it without locking
>
> these two have absolutely no business at all using anything tty.... they should
> just use printk with KERN_EMERG or whatever

Dquot does - it writes to the controlling tty of the process exceeding
quota . That is standard Unix behaviour