xen/sched: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Oct 2021 09:56:53 +0000 (10:56 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit15268d2ea32a194c30c79e67ba0ddc8dfb0e29fb
treeb2e37e71d4af2a6547d825b00a101c2fbd3d99d1
parenta096eaf12a0d558240c937fe44176aaa98b750a7
xen/sched: 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: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched/arinc653.c
xen/common/sched/core.c
xen/common/sched/credit.c
xen/common/sched/credit2.c
xen/common/sched/null.c
xen/common/sched/rt.c