Based off b80915eb99
and compacted into a single commit so that it will fit on the uni git server
11 lines
183 B
C
11 lines
183 B
C
// 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);
|
|
}
|