Searched refs:parent_ptty (Results 1 – 1 of 1) sorted by relevance
536 int parent_ptty; in logwrap_fork_execvp() local547 parent_ptty = TEMP_FAILURE_RETRY(posix_openpt(O_RDWR | O_CLOEXEC)); in logwrap_fork_execvp()548 if (parent_ptty < 0) { in logwrap_fork_execvp()555 if (grantpt(parent_ptty) || unlockpt(parent_ptty) || in logwrap_fork_execvp()556 ptsname_r(parent_ptty, child_devname, sizeof(child_devname)) != 0) { in logwrap_fork_execvp()584 close(parent_ptty); in logwrap_fork_execvp()597 rc = parent(argv[0], parent_ptty, pid, status, log_target, abbreviated, file_path, in logwrap_fork_execvp()610 close(parent_ptty); in logwrap_fork_execvp()