mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
9 lines
139 B
C
9 lines
139 B
C
|
#include "util.h"
|
||
|
#include <unistd.h>
|
||
|
#include <sys/syscall.h>
|
||
|
|
||
|
int setns(int fd, int nstype)
|
||
|
{
|
||
|
return syscall(__NR_setns, fd, nstype);
|
||
|
}
|