Skip to content

Commit

Permalink
compat_ioctl: add compat handler for TIOCGSID ioctl
Browse files Browse the repository at this point in the history
This is used by tcgetsid(3).

Signed-off-by: Andreas Schwab <[email protected]>
Cc: Alan Cox <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
andreas-schwab authored and torvalds committed Feb 11, 2010
1 parent 763458e commit 4cfbafd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4cfbafd

Please sign in to comment.