Home
last modified time | relevance | path

Searched refs:parent_ptty (Results 1 – 1 of 1) sorted by relevance

/system/core/logwrapper/
Dlogwrap.c480 int parent_ptty; in android_fork_execvp_ext() local
498 parent_ptty = TEMP_FAILURE_RETRY(open("/dev/ptmx", O_RDWR)); in android_fork_execvp_ext()
499 if (parent_ptty < 0) { in android_fork_execvp_ext()
506 if (grantpt(parent_ptty) || unlockpt(parent_ptty) || in android_fork_execvp_ext()
507 ptsname_r(parent_ptty, child_devname, sizeof(child_devname)) != 0) { in android_fork_execvp_ext()
534 close(parent_ptty); in android_fork_execvp_ext()
552 rc = parent(argv[0], parent_ptty, pid, status, log_target, in android_fork_execvp_ext()
564 close(parent_ptty); in android_fork_execvp_ext()