x86/quirks: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 19:43:29 +0000 (20:43 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commitf8840cabc61ad715ac5dc42b1a9f5a8b3cb22814
tree2d1c121bed21569d79ec903cac1189546df13dea
parentafaa75410ec1010b9ae7c3ae9ce0f3d1c26b6312
x86/quirks: CFI hardening

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/dmi_scan.c
xen/arch/x86/hvm/quirks.c
xen/arch/x86/shutdown.c
xen/arch/x86/x86_64/mmconfig-shared.c