From b59a6aa93a64629e02750de7120a3423b93384e2 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 19 Apr 2016 02:21:57 +0000 Subject: [PATCH] kernel: turn off bindnow hardening --- pkgs/os-specific/linux/kernel/manual-config.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 1fb702d5746..7ba01d66729 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -216,8 +216,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe nativeBuildInputs = [ perl bc nettools openssl ] ++ optional (stdenv.platform.uboot != null) (ubootChooser stdenv.platform.uboot); - hardeningDisable = [ "format" "fortify" "stackprotector" "pic" ] - ++ stdenv.lib.optional stdenv.isi686 "bindnow"; + hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ]; makeFlags = commonMakeFlags ++ [ "ARCH=${stdenv.platform.kernelArch}"