From 5c669f2b592a4a3b5244ec9206de99c01a84a9bf Mon Sep 17 00:00:00 2001 From: Tyler Hicks Date: Sat, 12 Jan 2019 00:04:46 +0000 Subject: [PATCH] Update kspp-recommendations.config to look like an x86_64 config Add a header that will make the checker script think that it is dealing with a x86_64 config file. Additionally, update the stackprotector related options to reflect the >= 4.18 names. Signed-off-by: Tyler Hicks --- config_files/kspp-recommendations.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config_files/kspp-recommendations.config b/config_files/kspp-recommendations.config index d2283b4..71ebe6e 100644 --- a/config_files/kspp-recommendations.config +++ b/config_files/kspp-recommendations.config @@ -1,4 +1,5 @@ # CONFIGs +# Linux/x86_64 4.20 Kernel Configuration # Report BUG() conditions and kill the offending process. CONFIG_BUG=y @@ -10,8 +11,8 @@ CONFIG_STRICT_KERNEL_RWX=y CONFIG_DEBUG_WX=y # Use -fstack-protector-strong (gcc 4.9+) for best stack canary coverage. -CONFIG_CC_STACKPROTECTOR=y -CONFIG_CC_STACKPROTECTOR_STRONG=y +CONFIG_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR_STRONG=y # Do not allow direct physical memory access (but if you must have it, at least enable STRICT mode...) # CONFIG_DEVMEM is not set -- 2.31.1