Skip to content

Commit

Permalink
linux-hardened: Adjust config for 4.17.4
Browse files Browse the repository at this point in the history
  • Loading branch information
NeQuissimus committed Jul 3, 2018
1 parent 37066b2 commit a4d56d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/os-specific/linux/kernel/hardened-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ ${optionalString (stdenv.platform.kernelArch == "x86_64") ''
# Reduce attack surface by disabling various emulations
IA32_EMULATION n
X86_X32 n
MODIFY_LDT_SYSCALL? n
${optionalString (versionOlder version "4.17") ''
MODIFY_LDT_SYSCALL? n
''}
VMAP_STACK y # Catch kernel stack overflows
Expand Down

0 comments on commit a4d56d0

Please sign in to comment.