Function lrs::syscall::chroot

Changes the root directory of the process.

Syntax

fn chroot(path: &CStr) -> i32

Arguments

NameDescription
path

The new root directory.

See also