• Home
  • Raw
  • Download

Lines Matching refs:pipe_fds

1863 static void parent_setup_complete(int *pipe_fds)  in parent_setup_complete()  argument
1865 close_and_reset(&pipe_fds[0]); in parent_setup_complete()
1866 close_and_reset(&pipe_fds[1]); in parent_setup_complete()
1873 static void wait_for_parent_setup(int *pipe_fds) in wait_for_parent_setup() argument
1877 close_and_reset(&pipe_fds[1]); in wait_for_parent_setup()
1880 if (read(pipe_fds[0], &buf, 1) != 0) in wait_for_parent_setup()
1882 close_and_reset(&pipe_fds[0]); in wait_for_parent_setup()
2502 int pipe_fds[2]; member
2514 int *fd_pairs[] = {state->pipe_fds, state->stdin_fds, state->stdout_fds, in minijail_free_run_state()
2771 setup_pipe(&state_out->child_env, state_out->pipe_fds)) in minijail_run_internal()
2786 int *pipe_fds; in minijail_run_internal() member
2795 pipe(pipe_fd_req[i].pipe_fds) == -1) in minijail_run_internal()
2922 close_and_reset(&state_out->pipe_fds[0]); in minijail_run_internal()
2923 ret = minijail_to_fd(j, state_out->pipe_fds[1]); in minijail_run_internal()
2924 close_and_reset(&state_out->pipe_fds[1]); in minijail_run_internal()
2982 int *pipe_fds[] = { in minijail_run_internal() local
2983 state_out->pipe_fds, state_out->child_sync_pipe_fds, in minijail_run_internal()
2988 for (size_t i = 0; i < ARRAY_SIZE(pipe_fds); ++i) { in minijail_run_internal()
2989 if (pipe_fds[i][0] != -1) { in minijail_run_internal()
2990 inheritable_fds[size++] = pipe_fds[i][0]; in minijail_run_internal()
2992 if (pipe_fds[i][1] != -1) { in minijail_run_internal()
2993 inheritable_fds[size++] = pipe_fds[i][1]; in minijail_run_internal()
3093 state_out->pipe_fds[0] = -1; in minijail_run_internal()
3122 .pipe_fds = {-1, -1}, in minijail_run_config_internal()