summaryrefslogtreecommitdiff
path: root/src/linux/setns.c
blob: 7029b7480571fd6614eeca5f93ca416ebbb17149 (plain)
1
2
3
4
5
6
7
8
9
#define _GNU_SOURCE
#include <sched.h>
#include "syscall.h"
#include "libc.h"

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