commit | 7d1254a1489c4ecc23a6afdfd1a17bdbb4cd186d | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue May 01 15:19:04 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 22 18:54:03 2018 +0200 |
tree | cbb6d57327ca925d030fb7cb04ab8649619f3f22 | |
parent | d8553911627ab1d9789d08c9902f5e43194f99f7 [diff] |
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>