x86/time: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 16:40:17 +0000 (17:40 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit031ea741c27e3534dd8b7eb6283234d0af6a7d3f
tree2918bf9a6516bc7475a346644c12f308691a211d
parente236fb0798f46d1c15bacdc1d52dc906c74e0ff8
x86/time: 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/hpet.c
xen/arch/x86/include/asm/hpet.h
xen/arch/x86/time.c