mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
linux_hardened: BUG on struct validation failure
This commit is contained in:
parent
a7ecdffc28
commit
1816e2b960
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue