aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-08-16 14:09:13 -0700
committerKees Cook <keescook@chromium.org>2018-01-15 12:08:06 -0800
commit08626a6056aad824c43d34ce587ab2b01f49d1a4 (patch)
treecbf024b04979925f657fb5fead7d10edac2efbe7 /virt/kvm/kvm_main.c
parentarm64: Implement thread_struct whitelist for hardened usercopy (diff)
downloadlinux-dev-08626a6056aad824c43d34ce587ab2b01f49d1a4.tar.xz
linux-dev-08626a6056aad824c43d34ce587ab2b01f49d1a4.zip
arm: Implement thread_struct whitelist for hardened usercopy
While ARM32 carries FPU state in the thread structure that is saved and restored during signal handling, it doesn't need to declare a usercopy whitelist, since existing accessors are all either using a bounce buffer (for which whitelisting isn't checking the slab), are statically sized (which will bypass the hardened usercopy check), or both. Cc: Russell King <linux@armlinux.org.uk> Cc: Ingo Molnar <mingo@kernel.org> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions