aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-02-10 16:56:40 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-11 16:59:42 -0500
commit4cfbafd33f5ae99688ab82525a1d449c1c1b198f (patch)
treef0f9b30905a913667fbe4f67ff2505c2f8b5d132 /fs
parent763458e0dbfb4d562d62823149cf62e8b8eca82b (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>
Diffstat (limited to 'fs')
-rw-r--r--fs/compat_ioctl.c1
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)
936COMPATIBLE_IOCTL(TIOCLINUX) 936COMPATIBLE_IOCTL(TIOCLINUX)
937COMPATIBLE_IOCTL(TIOCSBRK) 937COMPATIBLE_IOCTL(TIOCSBRK)
938COMPATIBLE_IOCTL(TIOCCBRK) 938COMPATIBLE_IOCTL(TIOCCBRK)
939COMPATIBLE_IOCTL(TIOCGSID)
939COMPATIBLE_IOCTL(TIOCGICOUNT) 940COMPATIBLE_IOCTL(TIOCGICOUNT)
940/* Little t */ 941/* Little t */
941COMPATIBLE_IOCTL(TIOCGETD) 942COMPATIBLE_IOCTL(TIOCGETD)