TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
hafnium
/
third_party
/
linux.git
/
3a0ad55d848b50499b68d7141d4eca997fce28ef
/
.
/
tools
/
perf
/
util
/
setns.c
blob: ce8fc290fce8783f6e3a24beac8e3f0dcd7d2a79 [
file
] [
log
] [
blame
]
Andrew Scull
b4b6d4a
2019-01-02 15:54:55 +0000
[
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
}