[openwrt/openwrt] config: kernel: remove KASAN_EXTRA

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 8 12:17:31 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/04b0f1e7f16b0870ddf4c7c1241aecc6d3d1a721

commit 04b0f1e7f16b0870ddf4c7c1241aecc6d3d1a721
Author: Qingfang Deng <dqfext at gmail.com>
AuthorDate: Fri Jun 7 17:55:38 2024 +0800

    config: kernel: remove KASAN_EXTRA
    
    The option has been removed from the kernel since 5.1.
    
    Signed-off-by: Qingfang Deng <dqfext at gmail.com>
    (cherry picked from commit 60ea3d6d46954553b7b50460dfe6b86878fe5990)
    Link: https://github.com/openwrt/openwrt/pull/15898
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-kernel.in | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 42755a4d59..ea828ae9cb 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -157,16 +157,6 @@ config KERNEL_KASAN
 	  Currently CONFIG_KASAN doesn't work with CONFIG_DEBUG_SLAB
 	  (the resulting kernel does not boot).
 
-config KERNEL_KASAN_EXTRA
-	bool "KAsan: extra checks"
-	depends on KERNEL_KASAN && KERNEL_DEBUG_KERNEL
-	help
-	  This enables further checks in the kernel address sanitizer, for now
-	  it only includes the address-use-after-scope check that can lead
-	  to excessive kernel stack usage, frame size warnings and longer
-	  compile time.
-	  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 has more
-
 config KERNEL_KASAN_VMALLOC
 	bool "Back mappings in vmalloc space with real shadow memory"
 	depends on KERNEL_KASAN




More information about the lede-commits mailing list