secgateway/kernel/linux-4.14.83/tools/perf/util/setns.c

9 lines
139 B
C
Raw Normal View History

2019-06-11 07:43:23 +00:00
#include "util.h"
#include <unistd.h>
#include <sys/syscall.h>
int setns(int fd, int nstype)
{
return syscall(__NR_setns, fd, nstype);
}