fix setgroups behavior in multithreaded process
[musl.git] / src / linux / chroot.c
blob0e69f145dee37cbdc865f6cf6e222a1658d58cdc
1 #define _GNU_SOURCE
2 #include <unistd.h>
3 #include "syscall.h"
5 int chroot(const char *path)
7 return syscall(SYS_chroot, path);