Merge tag 'soc-ep93xx-dt-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-block.git] / tools / perf / util / setns.c
CommitLineData
245aec7f
ACM
1// SPDX-License-Identifier: LGPL-2.1
2
3#include "namespaces.h"
86bcdb5a
ACM
4#include <unistd.h>
5#include <sys/syscall.h>
6
7int setns(int fd, int nstype)
8{
9 return syscall(__NR_setns, fd, nstype);
10}