Skip to content

Commit

Permalink
linux-hardened: Adjust for Linux 4.17
Browse files Browse the repository at this point in the history
  • Loading branch information
NeQuissimus committed Jun 29, 2018
1 parent 180855a commit 4f3ba3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/os-specific/linux/kernel/hardened-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ ${optionalString (versionOlder version "4.11") ''
# via the selinux=0 boot parameter.
${optionalString (versionAtLeast version "4.12") ''
SECURITY_SELINUX_DISABLE n
''}
${optionalString ((versionAtLeast version "4.12") && (versionOlder version "4.17")) ''
SECURITY_WRITABLE_HOOKS n
''}
Expand Down

0 comments on commit 4f3ba3b

Please sign in to comment.