linux-hardened: Adjust config for 4.17.4
This commit is contained in:
parent
37066b2aa5
commit
a4d56d0635
@ -28,7 +28,9 @@ ${optionalString (stdenv.platform.kernelArch == "x86_64") ''
|
|||||||
# Reduce attack surface by disabling various emulations
|
# Reduce attack surface by disabling various emulations
|
||||||
IA32_EMULATION n
|
IA32_EMULATION n
|
||||||
X86_X32 n
|
X86_X32 n
|
||||||
MODIFY_LDT_SYSCALL? n
|
${optionalString (versionOlder version "4.17") ''
|
||||||
|
MODIFY_LDT_SYSCALL? n
|
||||||
|
''}
|
||||||
|
|
||||||
VMAP_STACK y # Catch kernel stack overflows
|
VMAP_STACK y # Catch kernel stack overflows
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user