mirror of https://gitee.com/openkylin/linux.git
9 lines
139 B
C
9 lines
139 B
C
|
#include "util.h"
|
||
|
#include <unistd.h>
|
||
|
#include <sys/syscall.h>
|
||
|
|
||
|
int setns(int fd, int nstype)
|
||
|
{
|
||
|
return syscall(__NR_setns, fd, nstype);
|
||
|
}
|