]> git.hungrycats.org Git - linux/commit
drivers/tty: require read access for controlling terminal
authorJann Horn <jann@thejh.net>
Sun, 4 Oct 2015 17:29:12 +0000 (19:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:49:34 +0000 (14:49 -0700)
commitdbec4a259e2ed9d80f943e5ee363c0828884d34a
tree79287d1722451d2a80b511d5b8fabf80317da298
parent82d8846c84a25a1607f6dd0b5782b76c77ab89bf
drivers/tty: require read access for controlling terminal

commit 0c55627167870255158db1cde0d28366f91c8872 upstream.

This is mostly a hardening fix, given that write-only access to other
users' ttys is usually only given through setgid tty executables.

Signed-off-by: Jann Horn <jann@thejh.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c