linux_*_hardened: don't set VMAP_STACK
This has been on by default upstream for as long as it's been an option.
This commit is contained in:
parent
7d5352df31
commit
3d4c8ae901
@ -22,7 +22,6 @@ optionalAttrs (stdenv.hostPlatform.platform.kernelArch == "x86_64") {
|
|||||||
# Note: this config depends on EXPERT y and so will not take effect, hence
|
# Note: this config depends on EXPERT y and so will not take effect, hence
|
||||||
# it is left "optional" for now.
|
# it is left "optional" for now.
|
||||||
MODIFY_LDT_SYSCALL = option no;
|
MODIFY_LDT_SYSCALL = option no;
|
||||||
VMAP_STACK = yes; # Catch kernel stack overflows
|
|
||||||
|
|
||||||
# Randomize position of kernel and memory.
|
# Randomize position of kernel and memory.
|
||||||
RANDOMIZE_BASE = yes;
|
RANDOMIZE_BASE = yes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user