diff options
author | Aleksa Sarai <asarai@suse.de> | 2017-06-04 00:15:14 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:27:20 +0200 |
commit | 5f0f187fd0cc755cfa7d51b50f68a16fca41c813 (patch) | |
tree | ddab2897629fe8f84dec6f1af51fe00128f33828 /include/uapi/asm-generic/ioctls.h | |
parent | bea8be656185a2808a2f255f4a91ff18215a9d0c (diff) |
tty: add compat_ioctl callbacks
In order to avoid future diversions between fs/compat_ioctl.c and
drivers/tty/pty.c, define .compat_ioctl callbacks for the relevant
tty_operations structs. Since both pty_unix98_ioctl() and
pty_bsd_ioctl() are compatible between 32-bit and 64-bit userspace no
special translation is required.
Signed-off-by: Aleksa Sarai <asarai@suse.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/asm-generic/ioctls.h')
0 files changed, 0 insertions, 0 deletions