Re: [PATCH v4 1/2] tty: add compat_ioctl callbacks
From: Arnd Bergmann
Date: Tue Jun 06 2017 - 08:49:22 EST
On Sat, Jun 3, 2017 at 4:15 PM, Aleksa Sarai <asarai@xxxxxxx> 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@xxxxxxx>
Looks good,
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>