aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/amiserial.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-11-08 09:06:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-13 19:59:48 -0800
commitd1d3a0f7448fe038ce7e94e2c281dcd2f91b23c6 (patch)
tree8de2708afcb48978fc33e2d0e9a5e9fc4ddce8d7 /drivers/tty/amiserial.c
parenttty: core: Prefer dev_dbg() over pr_debug() (diff)
downloadlinux-dev-d1d3a0f7448fe038ce7e94e2c281dcd2f91b23c6.tar.xz
linux-dev-d1d3a0f7448fe038ce7e94e2c281dcd2f91b23c6.zip
tty: Only allow slave pty as controlling tty
A master pty should never be a controlling tty in Linux; if the master pty is specified to ioctl(TIOCSCTTY), silently substitute the slave pty as the controlling tty. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/amiserial.c')
0 files changed, 0 insertions, 0 deletions