xen/decompress: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 19:57:23 +0000 (20:57 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commitb22f4b696d3e7b811ed976add0b92f72b590dec1
tree8473b3813cc5b3c78cbc2a77fa9d9a4de0bff278
parent4ed7d5525f7675b364dcde5c248d841d44559d36
xen/decompress: 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/bunzip2.c
xen/common/decompress.c
xen/common/unlzma.c
xen/common/zstd/zstd_common.c
xen/common/zstd/zstd_internal.h