paxctl: remove setup hook

It only contained the `paxmark` function, which was a nonstandard abstraction for the `paxctl` command.

Closes #341722
This commit is contained in:
Tomo 2024-10-19 04:29:15 +00:00
parent 19fd4653e3
commit bc3e365f83
2 changed files with 0 additions and 10 deletions

View File

@ -22,8 +22,6 @@ stdenv.mkDerivation rec {
"MANDIR=share/man/man1"
];
setupHook = ./setup-hook.sh;
meta = with lib; {
description = "Tool for controlling PaX flags on a per binary basis";
mainProgram = "paxctl";

View File

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