From: Jann Horn Date: Sun, 4 Oct 2015 17:29:12 +0000 (+0200) Subject: drivers/tty: require read access for controlling terminal X-Git-Tag: v3.2.73~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db0054fe613b21cd65c1609680cc47c520760044;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: - __proc_set_tty() also takes a task_struct pointer] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed