#define _GNU_SOURCE #include #include "syscall.h" int setns(int fd, int nstype) { return syscall(SYS_setns, fd, nstype); }