xref: /linux/tools/perf/util/setns.c (revision cd2e9be89a246046d42939b8c0e0ea0d08530d30)
1 #include "util.h"
2 #include <unistd.h>
3 #include <sys/syscall.h>
4 
5 int setns(int fd, int nstype)
6 {
7 	return syscall(__NR_setns, fd, nstype);
8 }
9