]> xenbits.xensource.com Git - xen.git/commit
xen/console: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Oct 2021 13:06:28 +0000 (14:06 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit780c89eefa22514b1a91b959bf7828504c6aed31
treee6d7a47610661a19b892e5285b688cb7cccb87ef
parent17a69ac9d1e59fda240f996a27440d324bf020f8
xen/console: 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/char/console.c
xen/drivers/char/ehci-dbgp.c
xen/drivers/char/ns16550.c