diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-08-29 01:17:45 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-08-29 04:08:39 +0200 |
commit | fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c (patch) | |
tree | f15d6d67e9e0d22efed5a165de34f394d5bddbfe | |
parent | 22c9d8628c8a292cc242f1b91dd28bf3c5c15686 (diff) | |
download | nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.tar nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.tar.gz nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.tar.bz2 nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.tar.lz nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.tar.xz nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.tar.zst nixpkgs-fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c.zip |
kernel config: set DEBUG_STACKOVERFLOW regardless of features.grsecurity
features.grsecurity has actually been unset for a long time, with no ill effect on grsec kernel builds so this conditional looks useless.
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index e8d52cc240f..95b1319e981 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -35,9 +35,7 @@ with stdenv.lib; DEBUG_DEVRES n DEBUG_NX_TEST n DEBUG_STACK_USAGE n - ${optionalString (!(features.grsecurity or false)) '' - DEBUG_STACKOVERFLOW n - ''} + DEBUG_STACKOVERFLOW n RCU_TORTURE_TEST n SCHEDSTATS n DETECT_HUNG_TASK y |