summaryrefslogtreecommitdiff
path: root/src/linux/setns.c
blob: af3eb092f5a8382a7ce4fb5962cdcfbad136ec90 (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);
}