blob: ce8fc290fce8783f6e3a24beac8e3f0dcd7d2a79 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001#include "util.h"
2#include <unistd.h>
3#include <sys/syscall.h>
4
5int setns(int fd, int nstype)
6{
7 return syscall(__NR_setns, fd, nstype);
8}