Re: [PATCH] tty: Fix TIOCGPTPEER ioctl definition

From: Aleksa Sarai
Date: Mon Jul 10 2017 - 22:08:03 EST


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.

Acked-by: Aleksa Sarai <asarai@xxxxxxx>

Oops, I misunderstood what _IOR means semantically. TIL -- thanks!

--
Aleksa Sarai
Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html