mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 13:45:08 +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);
|
||
|
}
|