commit | fcdfa16b5a820319af5d2b1866c463d9a4915f36 | [log] [tgz] |
---|---|---|
author | Jann Horn <jann@thejh.net> | Sun Oct 04 19:29:12 2015 +0200 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:21:52 2020 +0200 |
tree | de1660147ed941b3f8d55be2f046d1795498c49a | |
parent | 524052811c3c991072f143ad4c3bc965ec81c24f [diff] |
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> [lizf: Backported to 3.4: adjust context] Signed-off-by: Zefan Li <lizefan@huawei.com>