Function lrs::syscall::setns

Associate a thread with a namespace.

Syntax

fn setns(fd: i32, nstype: i32) -> i32

Arguments

NameDescription
fd

A file descriptor referring to the namespace.

nstype

Which namespace types can be joined.

See also