summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setns.c
blob: b213b46d5626d3f8884805e833223a346ceaf97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * 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