Skip to content

Commit

Permalink
enable SLAB_FREELIST_RANDOM by default
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Micay <danielmicay@gmail.com>
  • Loading branch information
thestinger authored and anthraxx committed Apr 4, 2020
1 parent 90f9670 commit 786126f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1841,9 +1841,9 @@ config SLAB_MERGE_DEFAULT
command line.

config SLAB_FREELIST_RANDOM
default n
depends on SLAB || SLUB
bool "SLAB freelist randomization"
default y
help
Randomizes the freelist order used on creating new pages. This
security feature reduces the predictability of the kernel slab
Expand Down

0 comments on commit 786126f

Please sign in to comment.