diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-06-30 14:26:23 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-09 12:44:50 +0200 |
commit | 9f822e5477bc32b77af39b5bf8cf50b56b97c196 (patch) | |
tree | 910f6142a6da027a9012b95199f11bc9a463cd03 /pkgs/os-specific/linux/paxctl/setup-hook.sh | |
parent | d7b356f73b41640f5ee741f004c4fb41e0471d30 (diff) |
stdenv: Move paxmark function to paxctl's setup hook
Diffstat (limited to 'pkgs/os-specific/linux/paxctl/setup-hook.sh')
-rw-r--r-- | pkgs/os-specific/linux/paxctl/setup-hook.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/paxctl/setup-hook.sh b/pkgs/os-specific/linux/paxctl/setup-hook.sh new file mode 100644 index 0000000000000..11a6bb9910f94 --- /dev/null +++ b/pkgs/os-specific/linux/paxctl/setup-hook.sh @@ -0,0 +1,8 @@ +# PaX-mark binaries. +paxmark() { + local flags="$1" + shift + + paxctl -c "$@" + paxctl -zex -${flags} "$@" +} |