Commit 4cfbafd33f5ae99688ab82525a1d449c1c1b198f

Authored by Andreas Schwab
Committed by Linus Torvalds
1 parent 763458e0db

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -936,6 +936,7 @@
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)