fix setgroups behavior in multithreaded process
[musl.git] / src / linux / setns.c
blob0afec813f126c9d21b41d879ad930bbe48bfc0ea
1 #define _GNU_SOURCE
2 #include <sched.h>
3 #include "syscall.h"
5 int setns(int fd, int nstype)
7 return syscall(SYS_setns, fd, nstype);