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

9 lines
117 B
Bash

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