mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
342321e5e9
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> |
||
---|---|---|
.. | ||
pledge.info | ||
pledge.SlackBuild | ||
README | ||
slack-desc |
pledge (OpenBSD command and syscall implementation for Linux) pledge is a port of OpenBSD's syscall to Linux by Justine Tunney. This script builds a shared library (to be injected via LD_PRELOAD) and a command line utility to restrict program execution privileges and limit parameters such as maximum niceness, cpu time, virtual memory, file descriptors, child processes, and individual file sizes. For more info, see: https://justine.lol/pledge/ https://github.com/jart/pledge NOTES: * pledge doesn't support 32-bit x86 * 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'