diff options
author | Emily <vcs@emily.moe> | 2020-04-04 23:06:05 +0100 |
---|---|---|
committer | Emily <vcs@emily.moe> | 2020-04-17 16:13:39 +0100 |
commit | 0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257 (patch) | |
tree | 4fe9f30d6cab55fb16ccb7b4fa30271906e34b8a /pkgs/os-specific/linux/kernel/hardened-config.nix | |
parent | 4fb796e34129934ed9c26c64beb1a0f93639957e (diff) | |
download | nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.tar nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.tar.gz nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.tar.bz2 nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.tar.lz nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.tar.xz nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.tar.zst nixpkgs-0d5f1697b78a5d8dc7d0f2a25e71ecca4021b257.zip |
linux_*_hardened: don't set SLAB_FREELIST_{RANDOM,HARDENED}
Upstreamed in anthraxx/linux-hardened@786126f177aba14110394be49b404beba061292f, anthraxx/linux-hardened@44822ebeb7c3ede030c58cc64fc1c8e8489c9063.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/hardened-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/hardened-config.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/kernel/hardened-config.nix b/pkgs/os-specific/linux/kernel/hardened-config.nix index f718235c625..20911714b90 100644 --- a/pkgs/os-specific/linux/kernel/hardened-config.nix +++ b/pkgs/os-specific/linux/kernel/hardened-config.nix @@ -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; |