]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - lib/Kconfig.kasan
sysfs, kobject: allow creating kobject belonging to arbitrary users
[mirror_ubuntu-bionic-kernel.git] / lib / Kconfig.kasan
index bd38aab05929813acae4db2cd09f609a83d2025c..3d35d062970d2459ecee5573cf512a999061b3ab 100644 (file)
@@ -20,6 +20,17 @@ config KASAN
          Currently CONFIG_KASAN doesn't work with CONFIG_DEBUG_SLAB
          (the resulting kernel does not boot).
 
+config KASAN_EXTRA
+       bool "KAsan: extra checks"
+       depends on KASAN && DEBUG_KERNEL && !COMPILE_TEST
+       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
+
+
 choice
        prompt "Instrumentation type"
        depends on KASAN