xen/evtchn: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 13:35:51 +0000 (14:35 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commitfcbae94ea4f7aa62d1c0741577bdcc68caa224a1
treedb87c20e729d5d66f4fc2aff16b123ca1ceeae39
parent15268d2ea32a194c30c79e67ba0ddc8dfb0e29fb
xen/evtchn: 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/common/event_2l.c
xen/common/event_channel.c
xen/common/event_fifo.c