about summary refs log tree commit diff
path: root/src/linux/setns.c
blob: 0afec813f126c9d21b41d879ad930bbe48bfc0ea (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <sched.h>
#include "syscall.h"

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