Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / perf / util / setns.c
blob48f9c0af63b213722bf746e5a3afdb2799a4b27a
1 // SPDX-License-Identifier: LGPL-2.1
3 #include "namespaces.h"
4 #include <unistd.h>
5 #include <sys/syscall.h>
7 int setns(int fd, int nstype)
9 return syscall(__NR_setns, fd, nstype);