projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c8fae6
)
ANDROID: arm64: kvm: disable CFI
author
Sami Tolvanen
<samitolvanen@google.com>
Mon, 23 Apr 2018 19:52:07 +0000
(12:52 -0700)
committer
Sami Tolvanen
<samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:37 +0000
(16:03 -0700)
Disable CFI for code that runs at EL2 because __cfi_check only
understands EL1 addresses.
Bug:
67506682
Change-Id: Ia582943be0b31669d88464fd99228a5368b1aa6a
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm64/kvm/hyp/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/kvm/hyp/Makefile
b/arch/arm64/kvm/hyp/Makefile
index 19fa1c6b6b69a2e2816382e6e38a3e8945566fb4..bfa00a9e161d67e1c27a1a24357fdd955f642755 100644
(file)
--- a/
arch/arm64/kvm/hyp/Makefile
+++ b/
arch/arm64/kvm/hyp/Makefile
@@
-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