mm: hugetlb: define system call hugetlb size encodings in single file
[linux-2.6-microblaze.git] / init / Kconfig
index 8514b25..78cb246 100644 (file)
@@ -1275,12 +1275,17 @@ config BASE_FULL
 config FUTEX
        bool "Enable futex support" if EXPERT
        default y
-       select RT_MUTEXES
+       imply RT_MUTEXES
        help
          Disabling this option will cause the kernel to be built without
          support for "fast userspace mutexes".  The resulting kernel may not
          run glibc-based applications correctly.
 
+config FUTEX_PI
+       bool
+       depends on FUTEX && RT_MUTEXES
+       default y
+
 config HAVE_FUTEX_CMPXCHG
        bool
        depends on FUTEX
@@ -1571,6 +1576,15 @@ config SLAB_FREELIST_RANDOM
          security feature reduces the predictability of the kernel slab
          allocator against heap overflows.
 
+config SLAB_FREELIST_HARDENED
+       bool "Harden slab freelist metadata"
+       depends on SLUB
+       help
+         Many kernel heap attacks try to target slab cache metadata and
+         other infrastructure. This options makes minor performance
+         sacrifies to harden the kernel slab allocator against common
+         freelist exploit methods.
+
 config SLUB_CPU_PARTIAL
        default y
        depends on SLUB && SMP