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

9 lines
117 B
Bash
Raw Normal View History

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