/pjail

Execute a program with pledge restrictions

Primary LanguageC

pjail

Execute a program with pledge restrictions

pjail [-hilv] [-p promise] [command] [args...]

flags

  • -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 to stderr before executing)

compiling

To compile, just run

make

installing

To install, run

doas make install

more

See man pledge for more details.