stdenv: Move paxmark function to paxctl's setup hook

This commit is contained in:
Eelco Dolstra
2014-08-09 12:44:50 +02:00
parent d7b356f73b
commit 9f822e5477
5 changed files with 16 additions and 22 deletions
@@ -0,0 +1,8 @@
# PaX-mark binaries.
paxmark() {
local flags="$1"
shift
paxctl -c "$@"
paxctl -zex -${flags} "$@"
}