#define _GNU_SOURCE #include #include "syscall.h" int chroot(const char *path) { return syscall(SYS_chroot, path); }