linux_*_hardened: don't set DEFAULT_MMAP_MIN_ADDR

Upstreamed in anthraxx/linux-hardened@f1fe0a64dd.
This commit is contained in:
Emily 2020-04-04 22:52:42 +01:00
parent 3d4c8ae901
commit 8efe83c22e

View File

@ -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;