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

Okash Khawaja okash.khawaja at gmail.com
Tue May 23 04:38:18 EDT 2017


On Tue, May 23, 2017 at 9:33 AM, Samuel Thibault
<samuel.thibault at ens-lyon.org> wrote:
> Okash Khawaja, on mar. 23 mai 2017 09:30:34 +0100, wrote:
>> Here's quote:
>>
>>     "It doesn't deal with the case of a user opening a port that's also kernel
>>     opened and that would need some locking out (so it returned EBUSY if bound
>>     to a kernel device of some kind)."
>
> Ah, ok, so that doesn't exist yet and needs to be added. Something like
> a flag added to the tty structure, which is set and cleared when opening
> and closing the device from the kernel.
Right that sounds good. I can test it out on my side and then we can
plan what to do with the patch.

Okash


More information about the Speakup mailing list