1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

linux_hardended: enable gcc latent entropy plugin

This commit is contained in:
Franz Pletz 2018-01-03 07:10:24 +01:00
parent f8fd0b7a5f
commit ccb0ba56ef
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -97,6 +97,9 @@ PANIC_TIMEOUT -1
GCC_PLUGINS y # Enable gcc plugin options
# Gather additional entropy at boot time for systems that may not have appropriate entropy sources.
GCC_PLUGIN_LATENT_ENTROPY y
${optionalString (versionAtLeast version "4.11") ''
GCC_PLUGIN_STRUCTLEAK y # A port of the PaX structleak plugin
''}