linux_*_hardened: don't set RANDOMIZE_{BASE,MEMORY}
These are on by default for x86 in upstream linux-5.6.2, and turned on for arm64 by anthraxx/linux-hardened@90f9670bc3.
This commit is contained in:
parent
8c68055432
commit
130f6812be
@ -17,10 +17,6 @@ with (stdenv.lib.kernel.whenHelpers version);
|
||||
assert (versionAtLeast version "4.9");
|
||||
|
||||
optionalAttrs (stdenv.hostPlatform.platform.kernelArch == "x86_64") {
|
||||
# Randomize position of kernel and memory.
|
||||
RANDOMIZE_BASE = yes;
|
||||
RANDOMIZE_MEMORY = yes;
|
||||
|
||||
# Disable legacy virtual syscalls by default (modern glibc use vDSO instead).
|
||||
#
|
||||
# Note that the vanilla default is to *emulate* the legacy vsyscall mechanism,
|
||||
|
Loading…
Reference in New Issue
Block a user