repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git]
/
tools
/
perf
/
util
/
setns.c
blob
48f9c0af63b213722bf746e5a3afdb2799a4b27a
1
// SPDX-License-Identifier: LGPL-2.1
2
3
#include
"namespaces.h"
4
#include <unistd.h>
5
#include <sys/syscall.h>
6
7
int
setns
(
int
fd
,
int
nstype
)
8
{
9
return
syscall
(
__NR_setns
,
fd
,
nstype
);
10
}