Lines Matching refs:err_pipe
71 int piperead, pipefd[2], err_pipe[2]; in main() local
256 err_pipe[1] = -1; in main()
277 safe_pipe(err_pipe, 0); in main()
288 close(err_pipe[1]); in main()
291 if (read_write(err_pipe[0], (unsigned char *)&ev, sizeof(ev), 1)) in main()
297 close(err_pipe[0]); in main()
304 send_event(err_pipe[1], EVENT_FORK_ERR, errno); in main()
324 send_event(err_pipe[1], EVENT_PIDFILE, errno); in main()
339 log_err = log_start(ent_pw, err_pipe[1]); in main()
345 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
358 send_event(err_pipe[1], EVENT_GROUP_ERR, errno); in main()
401 send_event(err_pipe[1], EVENT_CAP_ERR, bad_capabilities); in main()
408 send_event(err_pipe[1], EVENT_USER_ERR, errno); in main()
423 send_event(err_pipe[1], EVENT_CAP_ERR, errno); in main()
490 if (err_pipe[1] != -1) in main()
491 close(err_pipe[1]); in main()