2 #include <asm/unistd.h>
12 static const char sample[] = "chroot.sample";
14 long rc = syscall(__NR_chroot, sample);
15 printf("chroot(\"%s\") = %ld %s (%m)\n",
16 sample, rc, errno2name());
18 puts("+++ exited with 0 +++");
24 SKIP_MAIN_UNDEFINED("__NR_chroot")