x86/apic: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Oct 2021 13:05:05 +0000 (14:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit15b66009808ac7c5e66824ccac06be15d4129686
treeac505d8ff9dc9ddd32033a43e0b4e522806c0a6e
parent98f93855806d9301f08000be804bc9cbb97011c1
x86/apic: 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/genapic/bigsmp.c
xen/arch/x86/genapic/delivery.c
xen/arch/x86/genapic/x2apic.c
xen/arch/x86/include/asm/genapic.h
xen/arch/x86/smp.c