diff options
author | 2007-11-28 16:22:07 -0800 | |
---|---|---|
committer | 2007-11-29 09:24:55 -0800 | |
commit | 81257def2ab8ae1680583ce1e5f018dc6c8ed98d (patch) | |
tree | cd05594fc6e5d37698b51baef1afda79d4aae57c /fs/compat_ioctl.c | |
parent | wait_task_stopped(): pass correct exit_code to wait_noreap_copyout() (diff) | |
download | linux-81257def2ab8ae1680583ce1e5f018dc6c8ed98d.tar.gz linux-81257def2ab8ae1680583ce1e5f018dc6c8ed98d.tar.bz2 linux-81257def2ab8ae1680583ce1e5f018dc6c8ed98d.zip |
tty: add the new termios2 ioctls to the compatible list.
Make them depend on TCGETS2. If that one is implemented the rest should be
there as well.
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index bd26e4cbb994..e8b7c3a98a54 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1954,6 +1954,12 @@ ULONG_IOCTL(TIOCSCTTY) COMPATIBLE_IOCTL(TIOCGPTN) COMPATIBLE_IOCTL(TIOCSPTLCK) COMPATIBLE_IOCTL(TIOCSERGETLSR) +#ifdef TCGETS2 +COMPATIBLE_IOCTL(TCGETS2) +COMPATIBLE_IOCTL(TCSETS2) +COMPATIBLE_IOCTL(TCSETSW2) +COMPATIBLE_IOCTL(TCSETSF2) +#endif /* Little f */ COMPATIBLE_IOCTL(FIOCLEX) COMPATIBLE_IOCTL(FIONCLEX) |