1 #define _GNU_SOURCE 2 #include <unistd.h> 3 #include "syscall.h" 4 chroot(const char * path)5 int chroot(const char *path) 6 { 7 return syscall(SYS_chroot, path); 8 } 9