Home
last modified time | relevance | path

Searched refs:event_fd (Results 1 – 3 of 3) sorted by relevance

/external/dnsmasq/src/
Dhelper.c53 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd) in create_helper() argument
90 send_event(event_fd, EVENT_HUSER_ERR, errno); in create_helper()
94 send_event(event_fd, EVENT_DIE, 0); in create_helper()
106 max_fd != STDIN_FILENO && max_fd != pipefd[0] && max_fd != event_fd) in create_helper()
182 send_event(event_fd, EVENT_KILLED, WTERMSIG(status)); in create_helper()
184 send_event(event_fd, EVENT_EXITED, WEXITSTATUS(status)); in create_helper()
273 if ((i = fcntl(event_fd, F_GETFD)) != -1) in create_helper()
274 fcntl(event_fd, F_SETFD, i | FD_CLOEXEC); in create_helper()
286 send_event(event_fd, EVENT_EXEC_ERR, err); in create_helper()
Ddnsmasq.h887 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch213 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
313 - send_event(event_fd, EVENT_HUSER_ERR, errno);
314 + send_event(event_fd, EVENT_HUSER_ERR, errno, 0);
318 - send_event(event_fd, EVENT_DIE, 0);
319 + send_event(event_fd, EVENT_DIE, 0, 0);
339 - send_event(event_fd, EVENT_KILLED, WTERMSIG(status));
341 - send_event(event_fd, EVENT_EXITED, WEXITSTATUS(status));
342 + send_event(event_fd, EVENT_KILLED, WTERMSIG(status), data.uid);
344 + send_event(event_fd, EVENT_EXITED, WEXITSTATUS(status), data.uid);
346 + send_event(event_fd, EVENT_EXITED, -1, data.uid);
[all …]