Function lrs::syscall::pivot_root

Moves the current root directory and sets a new one.

Syntax

fn pivot_root(new: &CStr, old: &CStr) -> i32

Arguments

NameDescription
new

The path of the new root directory.

old

Where the old root directory will me moved to.

See also