about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2020-04-04 22:52:42 +0100
committerEmily <vcs@emily.moe>2020-04-17 16:13:39 +0100
commit8efe83c22e8c7a33847255bec30c4a9d5be8abe9 (patch)
tree431ecfce3f084cb6de9b1e9ce0a14b497fb74820 /pkgs/os-specific
parent3d4c8ae901585b3ad9de8a68df6c3ebaa4bde4df (diff)
downloadnixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.tar
nixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.tar.gz
nixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.tar.bz2
nixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.tar.lz
nixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.tar.xz
nixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.tar.zst
nixlib-8efe83c22e8c7a33847255bec30c4a9d5be8abe9.zip
linux_*_hardened: don't set DEFAULT_MMAP_MIN_ADDR
Upstreamed in anthraxx/linux-hardened@f1fe0a64dd532551b048d97b35473c25809f7a0f.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/hardened-config.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/hardened-config.nix b/pkgs/os-specific/linux/kernel/hardened-config.nix
index 302170f2f5c3..154365a5be53 100644
--- a/pkgs/os-specific/linux/kernel/hardened-config.nix
+++ b/pkgs/os-specific/linux/kernel/hardened-config.nix
@@ -17,8 +17,6 @@ with (stdenv.lib.kernel.whenHelpers version);
 assert (versionAtLeast version "4.9");
 
 optionalAttrs (stdenv.hostPlatform.platform.kernelArch == "x86_64") {
-  DEFAULT_MMAP_MIN_ADDR = freeform "65536";  # Prevent allocation of first 64K of memory
-
   # Note: this config depends on EXPERT y and so will not take effect, hence
   # it is left "optional" for now.
   MODIFY_LDT_SYSCALL = option no;