summaryrefslogtreecommitdiff
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-09-10 23:06:35 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-24 08:19:36 +0400
commitc274f6ef1c6665632767d32e4ab912aad839ce27 (patch)
treefb916689439d10e29c55abc4e0af24e38ec203ec /include/linux/tty.h
parent136d5258b2bc4ffae99cb69874a76624c26fbfad (diff)
downloadlinux-c274f6ef1c6665632767d32e4ab912aad839ce27.tar.xz
tty: Hold termios_rwsem for tcflow(TCIxxx)
While transmitting a START/STOP char for tcflow(TCION/TCIOFF), prevent a termios change. Otherwise, a garbage in-band flow control char may be sent, if the termios change overlaps the transmission setup. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions