mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
linux-hardened: Adjust for Linux 4.17
This commit is contained in:
parent
180855a1fe
commit
4f3ba3b1f8
@ -55,6 +55,9 @@ ${optionalString (versionOlder version "4.11") ''
|
|||||||
# via the selinux=0 boot parameter.
|
# via the selinux=0 boot parameter.
|
||||||
${optionalString (versionAtLeast version "4.12") ''
|
${optionalString (versionAtLeast version "4.12") ''
|
||||||
SECURITY_SELINUX_DISABLE n
|
SECURITY_SELINUX_DISABLE n
|
||||||
|
''}
|
||||||
|
|
||||||
|
${optionalString ((versionAtLeast version "4.12") && (versionOlder version "4.17")) ''
|
||||||
SECURITY_WRITABLE_HOOKS n
|
SECURITY_WRITABLE_HOOKS n
|
||||||
''}
|
''}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user