David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | // SPDX-License-Identifier: LGPL-2.1 |
2 | |||||
3 | #include "namespaces.h" | ||||
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | #include <unistd.h> |
5 | #include <sys/syscall.h> | ||||
6 | |||||
7 | int setns(int fd, int nstype) | ||||
8 | { | ||||
9 | return syscall(__NR_setns, fd, nstype); | ||||
10 | } |