mm: SLAB freelist randomization
[deliverable/linux.git] / init / Kconfig
index 0dfd09d54c6519fb8a5069bf6153f4245184d01f..79a91a2c0444c72f8cb5c0435927d0ec06de5280 100644 (file)
@@ -1742,6 +1742,15 @@ config SLOB
 
 endchoice
 
+config SLAB_FREELIST_RANDOM
+       default n
+       depends on SLAB
+       bool "SLAB freelist randomization"
+       help
+         Randomizes the freelist order used on creating new SLABs. This
+         security feature reduces the predictability of the kernel slab
+         allocator against heap overflows.
+
 config SLUB_CPU_PARTIAL
        default y
        depends on SLUB && SMP
This page took 0.024327 seconds and 5 git commands to generate.