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:
parent
f8fd0b7a5f
commit
ccb0ba56ef
|
@ -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
|
||||
''}
|
||||
|
|
Loading…
Reference in a new issue