Function nix::unistd::chroot

source ·
pub fn chroot<P: ?Sized + NixPath>(path: &P) -> Result<()>
Available on crate feature fs only.
Expand description

Change a process’s root directory