nixpkgs/pkgs/os-specific/linux/paxctl/setup-hook.sh

8 lines
117 B
Bash

# PaX-mark binaries.
paxmark() {
local flags="$1"
shift
paxctl -c "$@"
paxctl -zex -${flags} "$@"
}