commit | 7bbf1373e228840bb0295a2ca26d548ef37f448e | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue May 01 15:19:04 2018 -0700 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu May 03 13:55:51 2018 +0200 |
tree | b03e2356ba64fa645695440d0519324c43f365aa | |
parent | a73ec77ee17ec556fe7f165d00314cb7c047b1ac [diff] |
nospec: Allow getting/setting on non-current task 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>