Jail provides native FreeBSD Jail syscalls in Go. As of now, FreeBSD 13.1 defines the Jail API at version 2. This is the only version supported at this time. The syscalls supported are:
- jail(2)
- jail_set(2)
- jail_get(2)
- jail_attach(2)
- jail_remove(2)
To get specifics on the syscalls themselves can be referenced here.
For examples, please reference the examples
directory.
Please feel free to open a PR!
Jail source code is available under the BSD 3 clause License.