linux/tools/perf/util/setns.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);
}