From: Andreas Schwab Date: Wed, 10 Feb 2010 21:56:40 +0000 (-0800) Subject: compat_ioctl: add compat handler for TIOCGSID ioctl X-Git-Tag: v2.6.33-rc8~21 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4cfbafd33f5ae99688ab82525a1d449c1c1b198f;p=~emulex%2Finfiniband.git compat_ioctl: add compat handler for TIOCGSID ioctl This is used by tcgetsid(3). Signed-off-by: Andreas Schwab Cc: Alan Cox Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)