]> www.infradead.org Git - users/jedix/linux-maple.git/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:43:26 +0000 (14:43 -0700)
commit9f98531e220596953ce62c5df084bf073d88f901
treea54c429acbe2742e42b2ed61a859348c8b044a6c
parent614ea4ea2c3face1f54dcc8e9a0ba134adce427e
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