Re: [PATCH] tty: Fix TIOCGPTPEER ioctl definition

From: Arnd Bergmann
Date: Tue Jul 11 2017 - 03:30:35 EST


On Tue, Jul 11, 2017 at 2:12 AM, Gleb Fotengauer-Malinovskiy
<glebfm@xxxxxxxxxxxx> wrote:
> This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag
> because it doesn't copy anything from/to userspace to access the
> argument.
>
> Fixes: 54ebbfb1 ("tty: add TIOCGPTPEER ioctl")
> Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@xxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>