From f0b03026c4422b40987475ba9be92e8ff575cf16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harshal=20Rei=C3=A9?= Date: Mon, 7 Mar 2022 18:25:38 +0530 Subject: [PATCH] add CFI flags in mi8937_defconfig kernel tree already has CFI commits same as: [CFI commit in Mido](https://github.com/ping2109/kernel_xiaomi_mido/commit/00a195e7c0752ff5d65c9caadfbcc226270ca232) [Google's CFI for Clang commit](https://android.googlesource.com/kernel/msm/+/4ca69fba291799969e4330178379e2ce97ba84dc%5E%21/) hence added CFI flags in default disabled mode --- arch/arm64/configs/mi8937_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/configs/mi8937_defconfig b/arch/arm64/configs/mi8937_defconfig index 9693b9dd1059..d3e832832179 100644 --- a/arch/arm64/configs/mi8937_defconfig +++ b/arch/arm64/configs/mi8937_defconfig @@ -805,3 +805,9 @@ CONFIG_SCHED_TUNE=n CONFIG_UCLAMP_TASK=y CONFIG_UCLAMP_BUCKETS_COUNT=5 CONFIG_UCLAMP_TASK_GROUP=y + +# CFI +# CONFIG_CFI is not set +# CONFIG_CFI_CLANG is not set +# CONFIG_CFI_PERMISSIVE is not set +# CONFIG_CFI_SHADOW is not set