Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

linux-hardened: Adjust config for 4.17.4

(cherry picked from commit a4d56d0635fc372288b405c5d7d501a60d1a2512)

authored by Tim Steinbach and committed by Uli Baum 1fd6aaa5 ba00e916

+3 -1
+3 -1
pkgs/os-specific/linux/kernel/hardened-config.nix
··· 28 28 # Reduce attack surface by disabling various emulations 29 29 IA32_EMULATION n 30 30 X86_X32 n 31 - MODIFY_LDT_SYSCALL? n 31 + ${optionalString (versionOlder version "4.17") '' 32 + MODIFY_LDT_SYSCALL? n 33 + ''} 32 34 33 35 VMAP_STACK y # Catch kernel stack overflows 34 36