mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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:
parent
19fd4653e3
commit
bc3e365f83
@ -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";
|
||||
|
@ -1,8 +0,0 @@
|
||||
# PaX-mark binaries.
|
||||
paxmark() {
|
||||
local flags="$1"
|
||||
shift
|
||||
|
||||
paxctl -c "$@"
|
||||
paxctl -zex -${flags} "$@"
|
||||
}
|
Loading…
Reference in New Issue
Block a user