summaryrefslogtreecommitdiff
path: root/tools/perf/util/setns.c
blob: ce8fc290fce8783f6e3a24beac8e3f0dcd7d2a79 (plain)
1
2
3
4
5
6
7
8
#include "util.h"
#include <unistd.h>
#include <sys/syscall.h>

int setns(int fd, int nstype)
{
	return syscall(__NR_setns, fd, nstype);
}