[PATCH v3 0/2] tty: add TIOCGPTPEER ioctl

From: Aleksa Sarai
Date: Sat Jun 03 2017 - 09:51:38 EST


Changes in v3:
* Defined a compat_ioctl callback for all pty ioctls, since they are
all 32-bit and 64-bit compatible.
* Made TIOCGPTPEER support 32-bit userspace.

Aleksa Sarai (2):
tty: add compat_ioctl callbacks
tty: add TIOCGPTPEER ioctl

Makefile | 1 +
arch/alpha/include/uapi/asm/ioctls.h | 1 +
arch/mips/include/uapi/asm/ioctls.h | 1 +
arch/parisc/include/uapi/asm/ioctls.h | 1 +
arch/powerpc/include/uapi/asm/ioctls.h | 1 +
arch/sh/include/uapi/asm/ioctls.h | 1 +
arch/sparc/include/uapi/asm/ioctls.h | 3 +-
arch/xtensa/include/uapi/asm/ioctls.h | 1 +
drivers/tty/pty.c | 93 ++++++++++++++++++++++++++++++++--
fs/compat_ioctl.c | 6 ---
include/uapi/asm-generic/ioctls.h | 1 +
11 files changed, 99 insertions(+), 11 deletions(-)

--
2.13.0