From 2213bf5e83ffeb597fe67c7192f797311f0c44b8 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 8 Mar 2023 21:31:18 +0100 Subject: [PATCH] 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 --- target/linux/generic/config-5.15 | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2