Searched refs:chout (Results 1 – 1 of 1) sorted by relevance
171 int chin[2], chout[2], cherr[2], pd; in _pam_exec() local180 chin[0] = chin[1] = chout[0] = chout[1] = cherr[0] = cherr[1] = -1; in _pam_exec()282 if (pipe(chout) != 0) { in _pam_exec()286 if (fcntl(chout[0], F_SETFL, O_NONBLOCK) != 0) { in _pam_exec()291 if ((chout[1] = open("/dev/null", O_RDWR)) < 0) { in _pam_exec()315 (chout[0] >= 0 && close(chout[0]) != 0) || in _pam_exec()321 } else if (dup2(chout[1], STDOUT_FILENO) != STDOUT_FILENO || in _pam_exec()340 if (chout[1] >= 0) in _pam_exec()341 close(chout[1]); in _pam_exec()350 pfd[nfds].fd = chout[0]; in _pam_exec()[all …]