Function jail::create_base_minijail 
source · pub fn create_base_minijail(
    root: &Path,
    max_open_files: u64,
) -> Result<Minijail>Expand description
Creates a [Minijail] instance which just changes the root using pivot_root(2) path and
max_open_files using RLIMIT_NOFILE.
If root path is “/”, the minijail don’t change the root.
§Arguments
root- The root path to be changed to by minijail.max_open_files- The maximum number of file descriptors to allow a jailed process to open.