Re: [patch 1/6] tty_port: allow a port to be opened with a tty that has no file handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Okash Khawaja, on mer. 17 mai 2017 14:38:32 +0100, wrote:
> On Wed, May 17, 2017 at 09:45:46AM +0200, Samuel Thibault wrote:
> > > This issue with opening tty from userspace while it's in use from kernel. Wonder
> > > if this will rear its ugly head with rescpect to the recent patches?
> > 
> > Ah, yes, we will have to think about that issue.
> 
> Would you suggest me raising this with Alan Cox as he mentioned some
> locking to prevent this scenario?

Mmm, I don't see which locking you refer to, I don't remember Alan Cox
talking about it?  AFAICS, tty_open() will just always manage to open
the tty, and reach the check_tty_count() call.

Samuel
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux