diff options
author | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2017-07-17 15:29:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 17:04:41 +0200 |
commit | c6325179238f1d4683edbec53d8322575d76d7e2 (patch) | |
tree | e24273feebc936eea5f57f4eb84bee71f37e9c6b /fs | |
parent | tty: hide unused pty_get_peer function (diff) | |
download | linux-c6325179238f1d4683edbec53d8322575d76d7e2.tar.xz linux-c6325179238f1d4683edbec53d8322575d76d7e2.zip |
tty: Fix TIOCGPTPEER ioctl definition
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: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Aleksa Sarai <asarai@suse.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions