From 1fb09c1e7d8a86aa46cfb18fc1aa3b91c9633199 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 6 Mar 2016 00:15:49 +0100 Subject: [PATCH] dhcpcd: enable PIE hardening --- pkgs/tools/networking/dhcpcd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/dhcpcd/default.nix b/pkgs/tools/networking/dhcpcd/default.nix index 856f75f06333..1d1f927001f0 100644 --- a/pkgs/tools/networking/dhcpcd/default.nix +++ b/pkgs/tools/networking/dhcpcd/default.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig udev ]; + hardeningEnable = [ "pie" ]; + configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var"