diff options
| author | Peter Hurley <[email protected]> | 2014-12-30 15:39:25 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-01-09 21:46:02 +0000 |
| commit | 86f2c00f1d8e344965cf8df8572ed5f682956995 (patch) | |
| tree | 3afe1620aba69b36ab45ff9fe26e368e452f25eb /lib/cpu-notifier-error-inject.c | |
| parent | tty: Add support for the WCH384 4S multi-IO card (diff) | |
| download | kernel-86f2c00f1d8e344965cf8df8572ed5f682956995.tar.gz kernel-86f2c00f1d8e344965cf8df8572ed5f682956995.zip | |
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 <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Acked-by: Shreyas Bethur <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
