Sign in
android-kvm
/
linux
/
4ed9c1e971b1f6474793da20496fa53c35d4a37b
/
.
/
tools
/
perf
/
util
/
setns.c
blob: 48f9c0af63b213722bf746e5a3afdb2799a4b27a [
file
] [
log
] [
blame
]
// 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
);
}