linux-hardened: Adjust for Linux 4.17

This commit is contained in:
Tim Steinbach 2018-06-29 08:37:25 -04:00
parent 180855a1fe
commit 4f3ba3b1f8
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA

View File

@ -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
''} ''}