[PATCH] tty: Fix TIOCGPTPEER ioctl definition

Aleksa Sarai asarai at suse.de
Tue Jul 11 12:07:43 AEST 2017


> 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 at suse.de>

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

-- 
Aleksa Sarai
Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/


More information about the Linuxppc-dev mailing list