x86/apei: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 18:37:20 +0000 (19:37 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commitc028bde9a6960b440e537dbde2c0327fce7f4955
tree9d3aeb454ff40f4096732c6549c992d88ea13f51
parent287f541c6e0a47904b4ee2908746d2279eceef6d
x86/apei: 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/drivers/acpi/apei/apei-base.c
xen/drivers/acpi/apei/apei-internal.h
xen/drivers/acpi/apei/erst.c