]> git.baikalelectronics.ru Git - kernel.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>
Sun, 4 Oct 2015 18:20:30 +0000 (19:20 +0100)
commit803f4e2559b519e710159380f57b9de17ef2a578
treeea04d97cb79cc262364468e0741cfa3dfb1afabd
parentbb858cdeb9ac180a952f5346172fe91132b180de
drivers/tty: require read access for controlling terminal

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>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c