Searched refs:chrootdir (Results 1 – 1 of 1) sorted by relevance
/sysdeps/unix/sysv/linux/ |
A D | tst-ttyname.c | 231 static char *chrootdir; variable 236 chrootdir = xasprintf ("%s/tst-ttyname-XXXXXX", test_dir); in prepare() 237 if (mkdtemp (chrootdir) == NULL) in prepare() 238 FAIL_EXIT1 ("mkdtemp (\"%s\"): %m", chrootdir); in prepare() 239 add_temp_file (chrootdir); in prepare() 310 VERIFY (mount ("tmpfs", chrootdir, "tmpfs", 0, "mode=755") == 0); in do_in_chroot_1() 311 VERIFY (chdir (chrootdir) == 0); in do_in_chroot_1() 384 VERIFY (mount ("tmpfs", chrootdir, "tmpfs", 0, "mode=755") == 0); in do_in_chroot_2() 385 VERIFY (chdir (chrootdir) == 0); in do_in_chroot_2()
|
Completed in 4 milliseconds