Kees Cook 7d1254a148 nospec: Allow getting/setting on non-current task
commit 7bbf1373e228840bb0295a2ca26d548ef37f448e upstream

Adjust arch_prctl_get/set_spec_ctrl() to operate on tasks other than
current.

This is needed both for /proc/$pid/status queries and for seccomp (since
thread-syncing can trigger seccomp in non-current threads).

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-22 18:54:03 +02:00
..
2017-08-16 16:48:34 -07:00
2018-02-03 17:38:47 +01:00
2017-08-21 12:47:31 -07:00
2017-09-08 18:26:48 -07:00
2018-02-22 15:42:24 +01:00
2018-02-22 15:42:24 +01:00
2018-05-09 09:51:50 +02:00