mm: slub: add kernel address sanitizer support for slub allocator
[linux-2.6-block.git] / lib / Kconfig.kasan
index 0052b1b9aadd8e3b46a325238e4cfce11fbf61f3..a11ac02344522177061e6853d9f64db189396452 100644 (file)
@@ -5,6 +5,7 @@ if HAVE_ARCH_KASAN
 
 config KASAN
        bool "KASan: runtime memory debugger"
+       depends on SLUB_DEBUG
        help
          Enables kernel address sanitizer - runtime memory debugger,
          designed to find out-of-bounds accesses and use-after-free bugs.