#define _GNU_SOURCE #include #include "syscall.h" int chroot(const char *path) { return syscall(SYS_chroot, path); } #ifdef TEST int main(void) { return 0; } #endif