summaryrefslogtreecommitdiffstats
path: root/lib/oid_registry.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-02 00:19:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-05-03 13:55:51 +0200
commit7bbf1373e228840bb0295a2ca26d548ef37f448e (patch)
treeb03e2356ba64fa645695440d0519324c43f365aa /lib/oid_registry.c
parentx86/speculation: Add prctl for Speculative Store Bypass mitigation (diff)
downloadlinux-7bbf1373e228840bb0295a2ca26d548ef37f448e.tar.xz
linux-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 <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/oid_registry.c')
0 files changed, 0 insertions, 0 deletions