restrictedversion Documentation on ocaml.org

Restrict possible system operations and filesystem view of your program

Try to call it as soon as possible in your program. Actual restricted calls currently implemented for these operating systems:

  • OpenBSD

Even if your operating system is not currently actually implemented, you can still call 'restricted' to make transparent to your users which priviliges your program needs and your users can test these promises with tools like (pledge on Linux)[https://justine.lol/pledge/]. Enjoy ;)

Tags openbsd restricted
AuthorRemove Wingman <ocaml@rw8.addy.io>
LicenseAGPL-3.0-or-later
Published
Homepagehttps://codeberg.org/removewingman/restricted
Issue Trackerhttps://codeberg.org/removewingman/restricted/issues
MaintainerRemove Wingman <ocaml@rw8.addy.io>
Dependencies
Source [http] https://codeberg.org/removewingman/restricted/releases/download/v1.1/ocaml-restricted-1.1.tar.gz
md5=8640c49d4b7e84deb1b60a105bdd338c
sha512=43243183b459398524415c6dd5583639c4a57612b17e0f295dfd878ae075445d3e3f3df1aad2841e0abf29a75a317dd8d6f1c1dd18469e47d01140aa51d41f50
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/restricted/restricted.1.1/opam
No package is dependent