[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6DD003758C@AcuExch.aculab.com>
Date: Tue, 11 Jul 2017 14:23:29 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Gleb Fotengauer-Malinovskiy' <glebfm@...linux.org>,
Aleksa Sarai <asarai@...e.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CC: "linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>,
Valentin Rothberg <vrothberg@...e.com>,
"linux-parisc@...r.kernel.org" <linux-parisc@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
"linux-sh@...r.kernel.org" <linux-sh@...r.kernel.org>,
"linux-xtensa@...ux-xtensa.org" <linux-xtensa@...ux-xtensa.org>,
"linux-alpha@...r.kernel.org" <linux-alpha@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Dmitry V. Levin" <ldv@...linux.org>, Jiri Slaby <jslaby@...e.com>,
"sparclinux@...r.kernel.org" <sparclinux@...r.kernel.org>,
Christian Brauner <christian.brauner@...ntu.com>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: RE: [PATCH] tty: Fix TIOCGPTPEER ioctl definition
From: Linuxppc-dev Gleb Fotengauer-Malinovskiy
> Sent: 11 July 2017 01:12
> 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")
...
> -#define TIOCGPTPEER _IOR('T', 0x41, int) /* Safely open the slave */
> +#define TIOCGPTPEER _IO('T', 0x41) /* Safely open the slave */
This is a user API change. When was the ioctl added?
David
Powered by blists - more mailing lists