hardened-config: clarify MODIFY_LDT_SYSCALL
This likely never worked; MODIFY_LDT_SYSCALL depends on EXPERT; enabling EXPERT however seems to introduce quite a few changes that would need to be properly vetted. The version guard is unnecessary, however, as this config has been supported since 4.3.
This commit is contained in:
parent
abc8ed3fca
commit
1801aad7b8
@ -28,9 +28,9 @@ ${optionalString (stdenv.hostPlatform.platform.kernelArch == "x86_64") ''
|
||||
# Reduce attack surface by disabling various emulations
|
||||
IA32_EMULATION n
|
||||
X86_X32 n
|
||||
${optionalString (versionOlder version "4.17") ''
|
||||
# Note: this config depends on EXPERT y and so will not take effect, hence
|
||||
# it is left "optional" for now.
|
||||
MODIFY_LDT_SYSCALL? n
|
||||
''}
|
||||
|
||||
VMAP_STACK y # Catch kernel stack overflows
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user