[patch 1/6] tty_port: allow a port to be opened with a tty that has no file handle
Samuel Thibault
samuel.thibault at ens-lyon.org
Mon May 22 18:07:52 EDT 2017
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
More information about the Speakup
mailing list