Skip to content

Commit

Permalink
linux_*_hardened: don't set SLAB_FREELIST_{RANDOM,HARDENED}
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy committed Apr 17, 2020
1 parent 4fb796e commit 0d5f169
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkgs/os-specific/linux/kernel/hardened-config.nix
Expand Up @@ -46,11 +46,6 @@ assert (versionAtLeast version "4.9");

REFCOUNT_FULL = whenAtLeast "4.13" yes;

# Randomize allocator freelists.
SLAB_FREELIST_RANDOM = yes;

SLAB_FREELIST_HARDENED = whenAtLeast "4.14" yes;

# Randomize page allocator when page_alloc.shuffle=1
SHUFFLE_PAGE_ALLOCATOR = whenAtLeast "5.2" yes;

Expand Down

0 comments on commit 0d5f169

Please sign in to comment.