summaryrefslogtreecommitdiffstats
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-02-10 13:56:40 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-11 13:59:42 -0800
commit4cfbafd33f5ae99688ab82525a1d449c1c1b198f (patch)
treef0f9b30905a913667fbe4f67ff2505c2f8b5d132 /fs/compat_ioctl.c
parent763458e0dbfb4d562d62823149cf62e8b8eca82b (diff)
downloadlinux-4cfbafd33f5ae99688ab82525a1d449c1c1b198f.tar.bz2
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/compat_ioctl.c')
-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)
COMPATIBLE_IOCTL(TIOCLINUX)
COMPATIBLE_IOCTL(TIOCSBRK)
COMPATIBLE_IOCTL(TIOCCBRK)
+COMPATIBLE_IOCTL(TIOCGSID)
COMPATIBLE_IOCTL(TIOCGICOUNT)
/* Little t */
COMPATIBLE_IOCTL(TIOCGETD)