xen: CFI hardening for call_rcu()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Oct 2021 09:28:35 +0000 (10:28 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commitd910f5ce7744f992a4a69bbb94d1e85a741962a9
tree3d846a1e260ef110bcbcf454cf6b1f4cb7cd3245
parent17bafcdcc84f67307a28acc42f0e842a7f5c08a7
xen: CFI hardening for call_rcu()

Control Flow Integrity schemes use toolchain and optionally hardware support
to help protect against call/jump/return oriented programming attacks.

Use cf_check to annotate function pointer targets for the toolchain.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/mtrr.c
xen/arch/x86/hvm/vmsi.c
xen/arch/x86/mm/mem_sharing.c
xen/arch/x86/percpu.c
xen/common/domain.c
xen/common/radix-tree.c
xen/common/rcupdate.c
xen/common/sched/core.c
xen/xsm/flask/avc.c