Lines Matching refs:output_fd
805 int output_fd[2] = {-1, -1}; in semanage_pipe_data() local
833 retval = pipe(output_fd); in semanage_pipe_data()
855 retval = dup2(output_fd[PIPE_WRITE], STDOUT_FILENO); in semanage_pipe_data()
871 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
894 retval = close(output_fd[PIPE_WRITE]); in semanage_pipe_data()
895 output_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
921 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
925 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
926 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
971 if (output_fd[PIPE_READ] != -1) { in semanage_pipe_data()
972 close(output_fd[PIPE_READ]); in semanage_pipe_data()
974 if (output_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
975 close(output_fd[PIPE_WRITE]); in semanage_pipe_data()