summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-02-10 22:56:40 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-11 22:59:42 +0100
commit4cfbafd33f5ae99688ab82525a1d449c1c1b198f (patch)
treef0f9b30905a913667fbe4f67ff2505c2f8b5d132 /fs
parentMAINTAINERS: changed LTP maintainership responsibilities (diff)
downloadlinux-4cfbafd33f5ae99688ab82525a1d449c1c1b198f.tar.xz
linux-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 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)