(No version information available, might only be in Git)
pcntl_setns — Reassociate the calling process with a namespace of another process
Reassociates the calling process with a Linux namespace of the process
specified by process_id, using a pidfd obtained
via pidfd_open(2) and setns(2).
process_idnull, the calling process's own PID is used.
nstypeCLONE_NEWNET (network namespace).
Possible values include CLONE_NEWNET,
CLONE_NEWIPC,
CLONE_NEWUTS, and others.
Функция возвращает true, если выполнилась успешно, или false, если возникла ошибка.