Lines Matching refs:child
4 Common helper functions to be used in child processes
121 struct sss_child_ctx *child;
126 child = talloc_zero(mem_ctx, struct sss_child_ctx);
127 if (child == NULL) {
131 child->pid = pid;
132 child->cb = cb;
133 child->pvt = pvt;
134 child->sigchld_ctx = sigchld_ctx;
140 value.ptr = child;
144 talloc_free(child);
148 talloc_set_destructor((TALLOC_CTX *) child, sss_child_destructor);
150 *child_ctx = child;
316 /* We still want to wait for the child to finish, but the caller is not
328 /* Async communication with the child process via a pipe */
535 "SIGCHLD handler called with invalid child count\n");
540 DEBUG(SSSDBG_TRACE_LIBS, "Waiting for child [%d].\n", child_ctx->pid);
551 "waitpid did not found a child with changed status.\n");
556 "child [%d] failed with status [%d].\n", ret,
560 "child [%d] finished successfully.\n", ret);
564 "child [%d] was terminated by signal [%d].\n", ret,
569 "child [%d] was stopped by signal [%d].\n", ret,
574 "child [%d] was resumed by delivery of SIGCONT.\n",
608 /* Stop monitoring for this child */