Lines Matching refs:output_fd
661 int output_fd[2]; in semanage_pipe_data() local
689 retval = pipe(output_fd); in semanage_pipe_data()
711 retval = dup2(output_fd[PIPE_WRITE], STDOUT_FILENO); in semanage_pipe_data()
727 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
750 retval = close(output_fd[PIPE_WRITE]); in semanage_pipe_data()
751 output_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
777 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
781 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
782 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
827 if (output_fd[PIPE_READ] != -1) { in semanage_pipe_data()
828 close(output_fd[PIPE_READ]); in semanage_pipe_data()
830 if (output_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
831 close(output_fd[PIPE_WRITE]); in semanage_pipe_data()