Re: [PATCH 40/50] kill the rest of tty COMPAT_IOCTL() entries

From: Arnd Bergmann
Date: Thu Sep 13 2018 - 06:56:10 EST


On Thu, Sep 13, 2018 at 4:40 AM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:

> @@ -1113,17 +1111,6 @@ COMPATIBLE_IOCTL(JSIOCGAXES)
> COMPATIBLE_IOCTL(JSIOCGBUTTONS)
> COMPATIBLE_IOCTL(JSIOCGNAME(0))
>
> -#ifdef TIOCSTART
> -/*
> - * For these two we have definitions in ioctls.h and/or termios.h on
> - * some architectures but no actual implemention. Some applications
> - * like bash call them if they are defined in the headers, so we provide
> - * entries here to avoid syslog message spew.
> - */
> -COMPATIBLE_IOCTL(TIOCSTART)
> -COMPATIBLE_IOCTL(TIOCSTOP)
> -#endif
> -

These are also included in my "compat_ioctl: remove IGNORE_IOCTL()"
patch, but it's trivial to rebased one on top of the other of course.

Arnd