Lines Matching defs:pid
44 pid_t pid;
102 key.ul = child_ctx->pid;
116 pid_t pid,
131 child->pid = pid;
137 key.ul = pid;
172 key.ul = child_ctx->pid;
182 child_ctx->cb(child_ctx->pid, cb_pvt->wait_status, child_ctx->pvt);
203 pid_t pid;
211 pid = waitpid(-1, &wait_status, WNOHANG | sigchld_ctx->options);
212 } while (pid == -1 && errno == EINTR);
214 if (pid == -1) {
218 } else if (pid == 0) continue;
220 key.ul = pid;
248 pid);
252 * pid.
262 } while (pid != 0);
267 pid_t pid;
277 int child_handler_setup(struct tevent_context *ev, int pid,
284 "Setting up signal handler up for pid [%d]\n", pid);
299 child_ctx->pid = pid;
303 DEBUG(SSSDBG_TRACE_INTERNAL, "Signal handler set up for pid [%d]\n", pid);
321 ret = kill(ctx->pid, SIGKILL);
540 DEBUG(SSSDBG_TRACE_LIBS, "Waiting for child [%d].\n", child_ctx->pid);
543 ret = waitpid(child_ctx->pid, &child_ctx->child_status, WNOHANG);