Re: [PATCH 1/3] tty: Add the new termios2 ioctls to the compatiblelist.

From: Heiko Carstens
Date: Tue Nov 20 2007 - 03:31:26 EST


On Mon, Nov 19, 2007 at 11:02:49PM -0800, Andrew Morton wrote:
> On Mon, 19 Nov 2007 13:52:06 +0100 Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:
> > Index: linux-2.6/fs/compat_ioctl.c
> > ===================================================================
> > --- linux-2.6.orig/fs/compat_ioctl.c
> > +++ linux-2.6/fs/compat_ioctl.c
> > @@ -1954,6 +1954,12 @@ ULONG_IOCTL(TIOCSCTTY)
> > COMPATIBLE_IOCTL(TIOCGPTN)
> > COMPATIBLE_IOCTL(TIOCSPTLCK)
> > COMPATIBLE_IOCTL(TIOCSERGETLSR)
> > +#ifdef TCGETS2
> > +COMPATIBLE_IOCTL(TCGETS2)
> > +COMPATIBLE_IOCTL(TCSETS2)
> > +COMPATIBLE_IOCTL(TCSETSW2)
> > +COMPATIBLE_IOCTL(TCSETSF2)
> > +#endif
> > /* Little f */
> > COMPATIBLE_IOCTL(FIOCLEX)
> > COMPATIBLE_IOCTL(FIONCLEX)
>
> Should this be in 2.6.24?

Can't hurt. At least it passed Alan's test suite on s390 (32 bit, 64 bit
and compat mode).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/