"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "788a675675b3ec5b64d232eae25e8e3e897cd31b"
tty: Prevent hw state corruption in exclusive mode reopen
Exclusive mode ttys (TTY_EXCLUSIVE) do not allow further reopens; fail the condition before associating the file pointer and calling the driver open() method. Prevents DTR programming when the tty is already in exclusive mode. Reported-by:Shreyas Bethur <shreyas.bethur@ni.com> Signed-off-by:
Peter Hurley <peter@hurleysoftware.com> Acked-by:
Shreyas Bethur <shreyas.bethur@ni.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment