Home
last modified time | relevance | path

Searched refs:err_fd (Results 1 – 5 of 5) sorted by relevance

/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc57 int err_fd = open(stderr_file.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in TEST() local
58 ASSERT_NE(-1, err_fd); in TEST()
99 ASSERT_NE(-1, dup2(err_fd, STDERR_FILENO)); in TEST()
108 fsync(err_fd); in TEST()
109 lseek(err_fd, 0, SEEK_SET); in TEST()
112 ASSERT_GT(read(err_fd, buf.get(), kBufSize), 0); in TEST()
129 close(err_fd); in TEST()
/external/selinux/libsemanage/src/
Ddirect_api.c662 int err_fd[2]; in semanage_pipe_data() local
694 retval = pipe(err_fd); in semanage_pipe_data()
716 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO); in semanage_pipe_data()
732 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
757 retval = close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
758 err_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
789 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
793 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
794 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
833 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
[all …]
/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
63 send_event(err_fd, EVENT_PIPE_ERR, errno); in create_helper()
96 send_event(err_fd, EVENT_HUSER_ERR, errno); in create_helper()
Ddnsmasq.h886 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);
304 - send_event(err_fd, EVENT_PIPE_ERR, errno);
305 + send_event(err_fd, EVENT_PIPE_ERR, errno, 0);
321 - send_event(err_fd, EVENT_HUSER_ERR, errno);;
322 + send_event(err_fd, EVENT_HUSER_ERR, errno, 0);