mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
linux_hardened: BUG on struct validation failure
This commit is contained in:
parent
a7ecdffc28
commit
1816e2b960
@ -17,6 +17,10 @@ GCC_PLUGINS y # Enable gcc plugin options
|
||||
|
||||
DEBUG_WX y # A one-time check for W+X mappings at boot; doesn't do anything beyond printing a warning
|
||||
|
||||
${optionalString (versionAtLeast version "4.10") ''
|
||||
BUG_ON_DATA_CORRUPTION y # BUG if kernel struct validation detects corruption
|
||||
''}
|
||||
|
||||
# Additional validation of commonly targetted structures
|
||||
DEBUG_CREDENTIALS y
|
||||
DEBUG_NOTIFIERS y
|
||||
|
Loading…
Reference in New Issue
Block a user