Gitiles
Code Review
Sign In
192.168.1.100
/
T800
/
e2381fbede2313f15e12a3dea9726ff3dc828f34
/
.
/
src
/
kernel
/
linux
/
v4.19
/
tools
/
perf
/
util
/
setns.c
blob: ce8fc290fce8783f6e3a24beac8e3f0dcd7d2a79 [
file
] [
log
] [
blame
]
xj
b04a402
2021-11-25 15:01:52 +0800
[
diff
] [
blame
]
1
#include
"util.h"
2
#include
<unistd.h>
3
#include
<sys/syscall.h>
4
5
int
setns
(
int
fd
,
int
nstype
)
6
{
7
return
syscall
(
__NR_setns
,
fd
,
nstype
);
8
}