Home
last modified time | relevance | path

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

/external/openssh/
Dauth-pam.c143 static int sshpam_thread_status = -1; variable
152 if (waitpid(cleanup_ctxt->pam_thread, &sshpam_thread_status, WNOHANG) in sshpam_sigchld_handler()
156 if (waitpid(cleanup_ctxt->pam_thread, &sshpam_thread_status, 0) in sshpam_sigchld_handler()
160 if (WIFSIGNALED(sshpam_thread_status) && in sshpam_sigchld_handler()
161 WTERMSIG(sshpam_thread_status) == SIGTERM) in sshpam_sigchld_handler()
163 if (!WIFEXITED(sshpam_thread_status)) in sshpam_sigchld_handler()
165 if (WEXITSTATUS(sshpam_thread_status) != 0) in sshpam_sigchld_handler()
184 sshpam_thread_status = -1; in pthread_create()
216 if (sshpam_thread_status != -1) in pthread_join()
217 return (sshpam_thread_status); in pthread_join()