Lines Matching refs:err_pipe
128 int piperead, pipefd[2], err_pipe[2]; in main() local
271 err_pipe[1] = -1; in main()
289 safe_pipe(err_pipe, 0); in main()
298 close(err_pipe[1]); in main()
301 if (read_write(err_pipe[0], (unsigned char*) &ev, sizeof(ev), 1)) fatal_event(&ev); in main()
306 close(err_pipe[0]); in main()
312 if ((pid = fork()) == -1) send_event(err_pipe[1], EVENT_FORK_ERR, errno); in main()
327 send_event(err_pipe[1], EVENT_PIDFILE, errno); in main()
342 log_err = log_start(ent_pw, err_pipe[1]); in main()
348 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
357 send_event(err_pipe[1], EVENT_GROUP_ERR, errno); in main()
378 send_event(err_pipe[1], EVENT_CAP_ERR, bad_capabilities); in main()
384 send_event(err_pipe[1], EVENT_USER_ERR, errno); in main()
398 send_event(err_pipe[1], EVENT_CAP_ERR, errno); in main()
462 if (err_pipe[1] != -1) close(err_pipe[1]); in main()