diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-12-30 18:39:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-10 00:46:02 +0300 |
commit | 86f2c00f1d8e344965cf8df8572ed5f682956995 (patch) | |
tree | 3afe1620aba69b36ab45ff9fe26e368e452f25eb /Documentation/namespaces | |
parent | 72a3c0e4e6624a77ee6eee0903f209185fe20647 (diff) | |
download | linux-86f2c00f1d8e344965cf8df8572ed5f682956995.tar.xz |
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>
Diffstat (limited to 'Documentation/namespaces')
0 files changed, 0 insertions, 0 deletions