> Date: Tue, 10 Dec 2013 23:05:01 +0100 > From: Marc Espie <es...@nerim.net> > > On Tue, Dec 10, 2013 at 10:31:31PM +0100, Mark Kettenis wrote: > > > Date: Tue, 10 Dec 2013 21:48:41 +0100 > > > From: Christian Weisgerber <na...@mips.inka.de> > > > > > > New attempt, now that the userland has been cleaned up. This diff > > > kills the remaining parts of the COMPAT_43 tty handling in the > > > kernel. (There are some further network-related COMPAT_43 fragments > > > that are not touched by this.) > > > > > > Comments? ok? > > > > Noticed TIOCGSID in that list. Don't think that is a 4.3 compat > > ioctl. Rather a System V compat ioctl. Might be useful if we ever > > find the need to implement tcgetsid(3). There is code in gnulib (the > > GNU portability library) that uses this ioctl to implement > > tcgetsid(3): > > > > https://github.com/gagern/gnulib/blob/master/lib/tcgetsid.c > > > > Not sure if there actually is anything out there that uses it. > > Note that tcgetsid(3) is part of posix 2008... I don't see this as > a noxious interface, so I don't see any reason not to keep it...
Well, we don't actually have tcgetsid(3); only the ioctl that can be used to implement it. And tcgetsid(3) is an XSI extension, so not a required POSIX interface.