libjail-rs
libjail-rs aims to be a rust implementation of the FreeBSD jail(3) library. While feature parity is a goal, a one-to-one implementation of all functions in jail(3) is not.
Project status
This library is still under heavy development
Usage
Execute a command in a jail:
use Command;
use jail_getid;
use Jailed;
let output = new
.jail
.output
.expect;
println!;