git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a3c0e
)
tty: Prevent hw state corruption in exclusive mode reopen
author
Peter Hurley
<peter@hurleysoftware.com>
Tue, 30 Dec 2014 15:39:25 +0000
(10:39 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 21:46:02 +0000
(13:46 -0800)
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>
drivers/tty/tty_io.c
patch
|
blob
|
history
diff --cc
drivers/tty/tty_io.c
Simple merge