CONFIG_CFI is available since kernel 6.17 and
CFI support may come to gcc too.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 features/security/security-arm64.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/features/security/security-arm64.cfg 
b/features/security/security-arm64.cfg
index 8c20ad249438..6f1b75fe754c 100644
--- a/features/security/security-arm64.cfg
+++ b/features/security/security-arm64.cfg
@@ -31,6 +31,6 @@ CONFIG_ARM64_BTI_KERNEL=y
 # Available in ARMv8.7 and later.
 CONFIG_ARM64_EPAN=y
 
-# Enable Control Flow Integrity
-CONFIG_CFI_CLANG=y
+# Enable Control Flow Integrity, only clang supports
+CONFIG_CFI=y
 # CONFIG_CFI_PERMISSIVE is not set
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16148): 
https://lists.yoctoproject.org/g/linux-yocto/message/16148
Mute This Topic: https://lists.yoctoproject.org/mt/117176767/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to