Rename and let kernel config determine the right option to enable as per:

https://github.com/torvalds/linux/commit/2a61f4747eeaa85ce26ca9fbd81421b15facd018

Signed-off-by: Anuj Mittal <anuj.mit...@intel.com>
---
 features/security/security.cfg | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/features/security/security.cfg b/features/security/security.cfg
index efcbe056..87408b63 100644
--- a/features/security/security.cfg
+++ b/features/security/security.cfg
@@ -10,9 +10,7 @@ CONFIG_SLAB_FREELIST_RANDOM=y
 CONFIG_SLAB_FREELIST_HARDENED=y
 
 # Stack Protector is for buffer overflow detection and hardening
-CONFIG_CC_STACKPROTECTOR=y
-# CONFIG_CC_STACKPROTECTOR_NONE is not set
-CONFIG_CC_STACKPROTECTOR_REGULAR=y
+CONFIG_STACKPROTECTOR=y
 
 # Perform extensive checks on reference counting
 CONFIG_REFCOUNT_FULL=y
-- 
2.17.1

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to