xen/video: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 18:41:13 +0000 (19:41 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit17a69ac9d1e59fda240f996a27440d324bf020f8
tree9e3b96b4b5a528d3756e1da31ceccd05d33463c8
parent991a06d71a73cae097a55e60f38c2ae38ef36e10
xen/video: 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/video/lfb.c
xen/drivers/video/lfb.h
xen/drivers/video/vesa.c
xen/drivers/video/vga.c