Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb409e49 authored by Sami Tolvanen's avatar Sami Tolvanen
Browse files

ANDROID: arm64: kvm: disable CFI



Disable CFI for code that runs at EL2 because __cfi_check only
understands EL1 addresses.

Bug: 67506682
Change-Id: Ia582943be0b31669d88464fd99228a5368b1aa6a
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 5c8fae60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# Makefile for Kernel-based Virtual Machine module, HYP part
#

ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING
ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING $(DISABLE_CFI)

ifeq ($(cc-name),clang)
ccflags-y += -fno-jump-tables