From: Hauke Mehrtens Date: Wed, 8 Mar 2023 20:31:18 +0000 (+0100) Subject: kernel: Deactivate options shown with CONFIG_KERNEL_KASAN=y X-Git-Tag: v23.05.0-rc1~750 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2213bf5e83ffeb597fe67c7192f797311f0c44b8;p=openwrt%2Fstaging%2Fhauke.git kernel: Deactivate options shown with CONFIG_KERNEL_KASAN=y This deactivates some kernel configuration options I see when CONFIG_KERNEL_KASAN=y is set in the OpenWrt configuration on x86/64. Set CONFIG_STACK_HASH_ORDER to its default value. Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15 index d6c44e801e..83aebc7017 100644 --- a/target/linux/generic/config-5.15 +++ b/target/linux/generic/config-5.15 @@ -2988,6 +2988,7 @@ CONFIG_KALLSYMS_BASE_RELATIVE=y # CONFIG_KALLSYMS_UNCOMPRESSED is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_KASAN is not set +# CONFIG_KASAN_MODULE_TEST is not set CONFIG_KASAN_STACK=y # CONFIG_KCMP is not set # CONFIG_KCOV is not set @@ -6325,6 +6326,7 @@ CONFIG_SSB_POSSIBLE=y # CONFIG_STACKTRACE is not set # CONFIG_STACKTRACE_BUILD_ID is not set CONFIG_STACKTRACE_SUPPORT=y +CONFIG_STACK_HASH_ORDER=20 # CONFIG_STACK_TRACER is not set # CONFIG_STACK_VALIDATION is not set CONFIG_STAGING=y