repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix setgroups behavior in multithreaded process
[musl.git]
/
src
/
linux
/
setns.c
blob
0afec813f126c9d21b41d879ad930bbe48bfc0ea
1
#define _GNU_SOURCE
2
#include <sched.h>
3
#include
"syscall.h"
4
5
int
setns
(
int
fd
,
int
nstype
)
6
{
7
return
syscall
(
SYS_setns
,
fd
,
nstype
);
8
}