paxctl: remove setup hook (#349693)

This commit is contained in:
Emily 2024-10-19 08:22:19 +01:00 committed by GitHub
commit 1f6337fdb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 10 deletions

View File

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

View File

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