nix::unistd

Function chroot

source
pub fn chroot<P: ?Sized + NixPath>(path: &P) -> Result<()>
Expand description

Change a process’s root directory