summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setns.c
blob: a697720b9e036fe729530d777e87b8aa3ade98d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* vi: set sw=4 ts=4: */
/*
 * setns() for uClibc
 *
 * Copyright (C) 2015 Bernhard Reutner-Fischer <uclibc@uclibc.org>
 *
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <sched.h>

#ifdef __NR_setns
_syscall2(int, setns, int, fd, int, nstype)
#endif