Function linux_unsafe::pivot_root
source · pub unsafe fn pivot_root(
new_root: *const char,
put_old: *const char
) -> Result<int>
Expand description
Changes the root mount in the mount namespace of the calling process.
pub unsafe fn pivot_root(
new_root: *const char,
put_old: *const char
) -> Result<int>
Changes the root mount in the mount namespace of the calling process.