From 7daa0e01d0226c7f9df15e25e546ec96b4a2d09d Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sun, 24 Sep 2023 04:01:28 -0400 Subject: [PATCH] build: enable more detail in kasan reporting --- linux.config | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/linux.config b/linux.config index 6dd54e2..4980ab7 100644 --- a/linux.config +++ b/linux.config @@ -767,6 +767,7 @@ CONFIG_OLD_SIGSUSPEND3=y CONFIG_COMPAT_OLD_SIGACTION=y CONFIG_COMPAT_32BIT_TIME=y CONFIG_HAVE_ARCH_VMAP_STACK=y +CONFIG_VMAP_STACK=y CONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=y # CONFIG_RANDOMIZE_KSTACK_OFFSET is not set CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y @@ -5009,11 +5010,12 @@ CONFIG_DEBUG_NET=y # # Memory Debugging # -# CONFIG_PAGE_EXTENSION is not set -# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_PAGE_EXTENSION=y +CONFIG_DEBUG_PAGEALLOC=y +# CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT is not set CONFIG_SLUB_DEBUG=y # CONFIG_SLUB_DEBUG_ON is not set -# CONFIG_PAGE_OWNER is not set +CONFIG_PAGE_OWNER=y # CONFIG_PAGE_TABLE_CHECK is not set # CONFIG_PAGE_POISONING is not set # CONFIG_DEBUG_PAGE_REF is not set @@ -5051,7 +5053,7 @@ CONFIG_KASAN_GENERIC=y # CONFIG_KASAN_OUTLINE is not set CONFIG_KASAN_INLINE=y CONFIG_KASAN_STACK=y -# CONFIG_KASAN_VMALLOC is not set +CONFIG_KASAN_VMALLOC=y # CONFIG_KASAN_MODULE_TEST is not set CONFIG_HAVE_ARCH_KFENCE=y # CONFIG_KFENCE is not set