chroot.c 130 B

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