summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/manual-config.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2015-12-23 02:59:47 +0100
committerRobin Gloster <mail@glob.in>2016-01-30 16:36:57 +0000
commit954e9903adc837c201a7bd70eede50d874aadbf6 (patch)
tree2e73f91504f4970cb2ae6bdb08115267eb634ced /pkgs/os-specific/linux/kernel/manual-config.nix
parentc5f092c6a7f20ddca7d1b2ddc2cb8eb6b02d2eaf (diff)
downloadnixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar
nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.gz
nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.bz2
nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.lz
nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.xz
nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.tar.zst
nixpkgs-954e9903adc837c201a7bd70eede50d874aadbf6.zip
Use a hardened stdenv by default
Diffstat (limited to 'pkgs/os-specific/linux/kernel/manual-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/manual-config.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix
index 4a826ff7ae3..8c537d67551 100644
--- a/pkgs/os-specific/linux/kernel/manual-config.nix
+++ b/pkgs/os-specific/linux/kernel/manual-config.nix
@@ -224,10 +224,16 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
   nativeBuildInputs = [ perl bc nettools openssl ] ++ optional (stdenv.platform.uboot != null)
     (ubootChooser stdenv.platform.uboot);
 
+  noHardening_format = true;
+  noHardening_fortify = true;
+  noHardening_stackprotector = true;
+
   makeFlags = commonMakeFlags ++ [
     "ARCH=${stdenv.platform.kernelArch}"
   ];
 
+  noHardening_pic = true;
+
   karch = stdenv.platform.kernelArch;
 
   crossAttrs = let cp = stdenv.cross.platform; in