[PATCH v4 1/2] tty: add compat_ioctl callbacks

Arnd Bergmann arnd at arndb.de
Tue Jun 6 22:49:15 AEST 2017


On Sat, Jun 3, 2017 at 4:15 PM, Aleksa Sarai <asarai at suse.de> wrote:
> In order to avoid future diversions between fs/compat_ioctl.c and
> drivers/tty/pty.c, define .compat_ioctl callbacks for the relevant
> tty_operations structs. Since both pty_unix98_ioctl() and
> pty_bsd_ioctl() are compatible between 32-bit and 64-bit userspace no
> special translation is required.
>
> Signed-off-by: Aleksa Sarai <asarai at suse.de>

Looks good,

Reviewed-by: Arnd Bergmann <arnd at arndb.de>


More information about the Linuxppc-dev mailing list