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>

authored by

Andreas Schwab and committed by
Linus Torvalds
4cfbafd3 763458e0

+1
+1
fs/compat_ioctl.c
··· 936 936 COMPATIBLE_IOCTL(TIOCLINUX) 937 937 COMPATIBLE_IOCTL(TIOCSBRK) 938 938 COMPATIBLE_IOCTL(TIOCCBRK) 939 + COMPATIBLE_IOCTL(TIOCGSID) 939 940 COMPATIBLE_IOCTL(TIOCGICOUNT) 940 941 /* Little t */ 941 942 COMPATIBLE_IOCTL(TIOCGETD)