Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_realme_mt6785
/
f63e0e61fbcc9fb5cd0a87c1a1af74cc3d4965f3
/
.
/
tools
/
perf
/
util
/
setns.c
blob: ce8fc290fce8783f6e3a24beac8e3f0dcd7d2a79 [
file
] [
log
] [
blame
]
#include
"util.h"
#include
<unistd.h>
#include
<sys/syscall.h>
int
setns
(
int
fd
,
int
nstype
)
{
return
syscall
(
__NR_setns
,
fd
,
nstype
);
}