mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
855ab9a9e2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> |
||
---|---|---|
.. | ||
pledge.info | ||
pledge.SlackBuild | ||
README | ||
slack-desc |
pledge is a port of OpenBSD's syscall to Linux by Justine Tunney. This script builds a shared library (used to be injected via LD_PRELOAD) and a command line utility to restrict program exection privileges and limit parameters as maximum niceness, cpu time, virtual memory, file descriptors, child proccess and individual file sizes. NOTE: * pledge help is available via the -h option * to run pledge at glibc executable load time: strace -vff bash -c \ '_PLEDGE=4194303,0 LD_PRELOAD=/usr/lib64/pledge/sandbox.so ls'