Lines Matching defs:status
78 * use the program exit status as the return code of pam_exec
111 int envlen, i, nitems, pam_err, status;
216 * exit status from the command.
229 while (waitpid(pid, &status, 0) == -1) {
239 if (WIFSIGNALED(status)) {
241 func, argv[0], WTERMSIG(status),
242 WCOREDUMP(status) ? " (core dumped)" : "");
245 if (!WIFEXITED(status)) {
246 openpam_log(PAM_LOG_ERROR, "%s: unknown status 0x%x",
247 func, status);
253 "%s: Use program exit status as return value: %d",
254 func, WEXITSTATUS(status));
255 return (WEXITSTATUS(status));
257 return (WEXITSTATUS(status) == 0 ?