diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2010-02-10 16:56:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-11 16:59:42 -0500 |
commit | 4cfbafd33f5ae99688ab82525a1d449c1c1b198f (patch) | |
tree | f0f9b30905a913667fbe4f67ff2505c2f8b5d132 | |
parent | 763458e0dbfb4d562d62823149cf62e8b8eca82b (diff) |
compat_ioctl: add compat handler for TIOCGSID ioctl
This is used by tcgetsid(3).
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/compat_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index b6f23b25370e..30698a13fb22 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -936,6 +936,7 @@ COMPATIBLE_IOCTL(TCSETSF) | |||
936 | COMPATIBLE_IOCTL(TIOCLINUX) | 936 | COMPATIBLE_IOCTL(TIOCLINUX) |
937 | COMPATIBLE_IOCTL(TIOCSBRK) | 937 | COMPATIBLE_IOCTL(TIOCSBRK) |
938 | COMPATIBLE_IOCTL(TIOCCBRK) | 938 | COMPATIBLE_IOCTL(TIOCCBRK) |
939 | COMPATIBLE_IOCTL(TIOCGSID) | ||
939 | COMPATIBLE_IOCTL(TIOCGICOUNT) | 940 | COMPATIBLE_IOCTL(TIOCGICOUNT) |
940 | /* Little t */ | 941 | /* Little t */ |
941 | COMPATIBLE_IOCTL(TIOCGETD) | 942 | COMPATIBLE_IOCTL(TIOCGETD) |