pub fn sys_pivot_root(newroot: &str, oldroot_mnt_point: &str) -> i32
Expand description
Switch the current root, in the current mount-namespace, to a directory (that must be in a separate mount from the current root) and then mount the current root (now the previous root) on a directory inside the new root – should probably unshare the mount namespace prior