]> git.baikalelectronics.ru Git - kernel.git/commit
tty: TIOCGSOFTCAR/SSOFTCAR on pty is wron
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 26 Aug 2008 18:52:47 +0000 (19:52 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Aug 2008 21:37:09 +0000 (14:37 -0700)
commitdf1597a46af1243a6dde1f518847d956f7a9cca9
tree8cb292ba9bd8249c578fdb77f49d7343beaa7815
parent415f1840222690b1466dfd4249c45ddf46165130
tty: TIOCGSOFTCAR/SSOFTCAR on pty is wron

The termios settings ioctls on a pty should affect the bound tty side not
the pty. The SOFTCAR ioctls use the wrong device file.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_ioctl.c