Home
last modified time | relevance | path

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

/external/openssh/
Dauth-pam.c149 static int sshpam_thread_status = -1; variable
158 if (waitpid(cleanup_ctxt->pam_thread, &sshpam_thread_status, WNOHANG) in sshpam_sigchld_handler()
163 &sshpam_thread_status, 0) == -1) { in sshpam_sigchld_handler()
169 if (WIFSIGNALED(sshpam_thread_status) && in sshpam_sigchld_handler()
170 WTERMSIG(sshpam_thread_status) == SIGTERM) in sshpam_sigchld_handler()
172 if (!WIFEXITED(sshpam_thread_status)) in sshpam_sigchld_handler()
174 if (WEXITSTATUS(sshpam_thread_status) != 0) in sshpam_sigchld_handler()
193 sshpam_thread_status = -1; in pthread_create()
225 if (sshpam_thread_status != -1) in pthread_join()
226 return (sshpam_thread_status); in pthread_join()