android_kernel_samsung_univ.../arch/x86
Kees Cook b6f4a6285d 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: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Srivatsa S. Bhat <srivatsa@csail.mit.edu>
Reviewed-by: Matt Helsley (VMware) <matt.helsley@gmail.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Bo Gan <ganb@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-25 10:18:26 +02:00
..
boot x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
configs
crypto x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
entry x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface 2018-07-25 10:18:20 +02:00
ia32
include x86/speculation: Add prctl for Speculative Store Bypass mitigation 2018-07-25 10:18:26 +02:00
kernel nospec: Allow getting/setting on non-current task 2018-07-25 10:18:26 +02:00
kvm x86/speculation: Create spec-ctrl.h to avoid include hell 2018-07-25 10:18:25 +02:00
lguest
lib x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
math-emu x86/fpu/math-emu: Fix possible uninitialized variable use 2018-02-25 11:03:43 +01:00
mm x86/speculation: Use Indirect Branch Prediction Barrier in context switch 2018-07-25 10:18:21 +02:00
net bpf, x64: increase number of passes 2018-03-28 18:40:17 +02:00
oprofile x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
pci
platform x86/speculation: Use IBRS if available before calling into firmware 2018-07-25 10:18:21 +02:00
power x86/power: Fix swsusp_arch_resume prototype 2018-05-30 07:48:55 +02:00
purgatory
ras
realmode
tools x86: Treat R_X86_64_PLT32 as R_X86_64_PC32 2018-03-18 11:17:52 +01:00
um x86/cpufeature: Carve out X86_FEATURE_* 2018-07-17 11:31:44 +02:00
video
xen x86/amd: don't set X86_BUG_SYSRET_SS_ATTRS when running under Xen 2018-07-25 10:18:23 +02:00
.gitignore
Kbuild
Kconfig x86/cpu: Provide a config option to disable static_cpu_has 2018-07-17 11:31:44 +02:00
Kconfig.cpu
Kconfig.debug x86/cpufeature: Replace the old static_cpu_has() with safe variant 2018-07-17 11:31:44 +02:00
Makefile x86/build/64: Force the linker to use 2MB page size 2018-03-28 18:40:16 +02:00
Makefile_32.cpu
Makefile.um