diff options
author | Robin Gloster <mail@glob.in> | 2016-02-26 17:27:28 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-02-26 17:27:28 +0000 |
commit | 87e64f153b792d0b07f1d6a0cd0e8b5dd0c21424 (patch) | |
tree | 964a23828b7dc9d25566cc9b3c1e6154bab0a484 /pkgs/tools/system/cron | |
parent | 631c09bbe5946ca0e1b5a58f0ad37b7616481616 (diff) |
cron: enable pie hardening
Diffstat (limited to 'pkgs/tools/system/cron')
-rw-r--r-- | pkgs/tools/system/cron/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix index 998be45d9c645..805336cfe44b1 100644 --- a/pkgs/tools/system/cron/default.nix +++ b/pkgs/tools/system/cron/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation { unpackCmd = "(mkdir cron && cd cron && sh $curSrc)"; + hardening_pie = true; + preBuild = '' substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755 makeFlags="DESTROOT=$out" |