mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
183 B
11 lines
183 B
3 years ago
|
// SPDX-License-Identifier: LGPL-2.1
|
||
|
|
||
|
#include "namespaces.h"
|
||
|
#include <unistd.h>
|
||
|
#include <sys/syscall.h>
|
||
|
|
||
|
int setns(int fd, int nstype)
|
||
|
{
|
||
|
return syscall(__NR_setns, fd, nstype);
|
||
|
}
|