summaryrefslogtreecommitdiff
path: root/fs
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
parent763458e0dbfb4d562d62823149cf62e8b8eca82b (diff)
downloadlinux-3.10-4cfbafd33f5ae99688ab82525a1d449c1c1b198f.tar.gz
linux-3.10-4cfbafd33f5ae99688ab82525a1d449c1c1b198f.tar.bz2
linux-3.10-4cfbafd33f5ae99688ab82525a1d449c1c1b198f.zip
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 b6f23b25370..30698a13fb2 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)