diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-20 12:24:26 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-20 12:24:26 -0600 |
commit | d4389d613cc49f776fffe5ee0f9af854e9a93074 (patch) | |
tree | acb65e19f6482e2599e31003c9a811154580a23c /libc/sysdeps/linux/common/setns.c | |
parent | 42e9e0a0406473a9b017342eaffc03c85f9bb51b (diff) | |
parent | 409f14d9b5e47513d5c939120a33965997c8ceb2 (diff) |
sync with uClibc
Diffstat (limited to 'libc/sysdeps/linux/common/setns.c')
-rw-r--r-- | libc/sysdeps/linux/common/setns.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/setns.c b/libc/sysdeps/linux/common/setns.c new file mode 100644 index 000000000..a697720b9 --- /dev/null +++ b/libc/sysdeps/linux/common/setns.c @@ -0,0 +1,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 |