unshare 0.6.0

The low-level interface for linux namespaces (containers)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::ffi::CString;


pub struct Pivot {
    pub new_root: CString,
    pub put_old: CString,
    pub old_inside: CString,
    pub workdir: CString,
    pub unmount_old_root: bool,
}

pub struct Chroot {
    pub root: CString,
    pub workdir: CString,
}