xen/vpci: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 10:57:06 +0000 (11:57 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit4ed7d5525f7675b364dcde5c248d841d44559d36
tree3de2a6320d43a653073c0dcd8ef2492eeb8b9239
parentef0434ae38030d0a002805c72f5c2819c20d9dcc
xen/vpci: 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/vpci/header.c
xen/drivers/vpci/msi.c
xen/drivers/vpci/msix.c
xen/drivers/vpci/vpci.c
xen/include/xen/vpci.h