Skip to content

Commit

Permalink
linux_*_hardened: don't set BUG_ON_DATA_CORRUPTION
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy committed Apr 17, 2020
1 parent db6b327 commit 33b94e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkgs/os-specific/linux/kernel/hardened-config.nix
Expand Up @@ -20,8 +20,6 @@ assert (versionAtLeast version "4.9");
# Report BUG() conditions and kill the offending process.
BUG = yes;

BUG_ON_DATA_CORRUPTION = whenAtLeast "4.10" yes;

# Safer page access permissions (wrt. code injection). Default on >=4.11.
DEBUG_RODATA = whenOlder "4.11" yes;
DEBUG_SET_MODULE_RONX = whenOlder "4.11" yes;
Expand Down

0 comments on commit 33b94e5

Please sign in to comment.