Execute a program with pledge restrictions
pjail [-hilv] [-p promise] [command] [args...]
-h
Show help-i
Invert (pledge everything except promises in flags)-l
List pledge promises-p promise
Make pledge promise-v
Verbose (print pledge string tostderr
before executing)
To compile, just run
make
To install, run
doas make install
See man pledge for more details.