[linux-yocto] [PATCH 4/4] security.cfg: rename STACKPROTECTOR configs
Anuj Mittal
anuj.mittal at intel.com
Sun Nov 25 22:01:51 PST 2018
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.mittal at 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
More information about the linux-yocto
mailing list