summary refs log tree commit diff
path: root/pkgs/os-specific/linux/paxctl/setup-hook.sh
blob: 11a6bb9910f941148a5f12806f027aed3ad53ad3 (plain) (blame)
1
2
3
4
5
6
7
8
# PaX-mark binaries.
paxmark() {
    local flags="$1"
    shift

    paxctl -c "$@"
    paxctl -zex -${flags} "$@"
}