From: Tyler Hicks Date: Sat, 12 Jan 2019 00:04:46 +0000 (+0000) Subject: Update kspp-recommendations.config to look like an x86_64 config X-Git-Tag: v0.5.2~59^2~4 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5c669f2b592a4a3b5244ec9206de99c01a84a9bf;p=kconfig-hardened-check.git 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 --- 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