Home
last modified time | relevance | path

Searched refs:err_pipe (Results 1 – 2 of 2) sorted by relevance

/external/dnsmasq/src/
Ddnsmasq.c78 int piperead, pipefd[2], err_pipe[2]; in main() local
281 err_pipe[1] = -1; in main()
302 safe_pipe(err_pipe, 0); in main()
313 close(err_pipe[1]); in main()
316 if (read_write(err_pipe[0], (unsigned char *)&ev, sizeof(ev), 1)) in main()
322 close(err_pipe[0]); in main()
329 send_event(err_pipe[1], EVENT_FORK_ERR, errno); in main()
349 send_event(err_pipe[1], EVENT_PIDFILE, errno); in main()
364 log_err = log_start(ent_pw, err_pipe[1]); in main()
370 daemon->helperfd = create_helper(pipewrite, err_pipe[1], script_uid, script_gid, max_fd); in main()
[all …]
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch20 err_pipe[1] = -1;
26 - send_event(err_pipe[1], EVENT_PIDFILE, errno);
27 + send_event(err_pipe[1], EVENT_PIDFILE, errno, 0);
35 - send_event(err_pipe[1], EVENT_GROUP_ERR, errno);
36 + send_event(err_pipe[1], EVENT_GROUP_ERR, errno, 0);
44 - send_event(err_pipe[1], EVENT_CAP_ERR, bad_capabilities);
45 + send_event(err_pipe[1], EVENT_CAP_ERR, bad_capabilities, 0);
52 - send_event(err_pipe[1], EVENT_USER_ERR, errno);
53 + send_event(err_pipe[1], EVENT_USER_ERR, errno, 0);
61 - send_event(err_pipe[1], EVENT_CAP_ERR, errno);
[all …]