diff options
| author | Kees Cook <[email protected]> | 2018-05-01 22:19:04 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-05-03 11:55:51 +0000 |
| commit | 7bbf1373e228840bb0295a2ca26d548ef37f448e (patch) | |
| tree | b03e2356ba64fa645695440d0519324c43f365aa /fs/proc/array.c | |
| parent | x86/speculation: Add prctl for Speculative Store Bypass mitigation (diff) | |
| download | kernel-7bbf1373e228840bb0295a2ca26d548ef37f448e.tar.gz kernel-7bbf1373e228840bb0295a2ca26d548ef37f448e.zip | |
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
