From fcf5a24d8c0b7eb12bf6efe30ef0723aef43049c Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Mon, 29 Aug 2016 01:17:45 +0200 Subject: [PATCH] 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. --- pkgs/os-specific/linux/kernel/common-config.nix | 4 +--- 1 file changed, 1 insertion(+), 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