Lines Matching refs:slave
297 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_1() local
298 if (!doit (slave, "basic smoketest", in do_in_chroot_1()
329 char *linkname = xasprintf ("/proc/self/fd/%d", slave); in do_in_chroot_1()
334 _exit (cb (slavename, slave)); in do_in_chroot_1()
340 xclose (slave); in do_in_chroot_1()
379 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_2() local
380 if (!doit (slave, "basic smoketest", in do_in_chroot_2()
417 char *linkname = xasprintf ("/proc/self/fd/%d", slave); in do_in_chroot_2()
422 _exit (cb (slavename, slave)); in do_in_chroot_2()
453 run_chroot_tests (const char *slavename, int slave) in run_chroot_tests() argument
468 if (!doit (slave, "no conflict, no match", in run_chroot_tests()
472 if (!doit (slave, "no conflict, console", in run_chroot_tests()
492 if (!doit (slave, "conflict, no match", in run_chroot_tests()
496 if (!doit (slave, "conflict, console", in run_chroot_tests()
508 char *linkname = xasprintf ("/proc/self/fd/%d", slave); in run_chroot_tests()
525 if (!doit (slave, "with readlink target", in run_chroot_tests()
533 if (!doit (slave, "with readlink trap; fallback", in run_chroot_tests()
540 if (!doit (slave, "with readlink trap; no fallback", in run_chroot_tests()
586 if (!doit (slave, "with search-path trap", in run_chroot_tests()