nc 0.9.7

Access system calls directly
Documentation
1
2
3
4
5
/// Attaches the current process to an existing jail.
pub unsafe fn jail_attach(jid: i32) -> Result<(), Errno> {
    let jid = jid as usize;
    syscall1(SYS_JAIL_ATTACH, jid).map(drop)
}