Searched refs:slavename (Results 1 – 1 of 1) sorted by relevance
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-ttyname.c | 282 char *slavename; in do_in_chroot_1() local 291 VERIFY ((slavename = ptsname (master))); in do_in_chroot_1() 293 if (strncmp (slavename, "/dev/pts/", 9) != 0) in do_in_chroot_1() 295 slavename); in do_in_chroot_1() 296 adjust_file_limit (slavename); in do_in_chroot_1() 297 int slave = xopen (slavename, O_RDWR, 0); in do_in_chroot_1() 299 (struct result_r){.name=slavename, .ret=0, .err=0})) in do_in_chroot_1() 325 VERIFY (mount (slavename, "console", NULL, MS_BIND, NULL) == 0); in do_in_chroot_1() 331 VERIFY (strcmp (target, slavename) == 0); in do_in_chroot_1() 334 _exit (cb (slavename, slave)); in do_in_chroot_1() [all …]
|