Lines Matching refs:PIPE_WRITE
62 #define PIPE_WRITE 1 macro
855 retval = dup2(output_fd[PIPE_WRITE], STDOUT_FILENO); in semanage_pipe_data()
860 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO); in semanage_pipe_data()
866 retval = close(input_fd[PIPE_WRITE]); 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()
901 retval = close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
902 err_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
908 retval = write(input_fd[PIPE_WRITE], in_data, in_data_len); in semanage_pipe_data()
913 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data()
914 input_fd[PIPE_WRITE] = -1; 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()
980 if (err_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
981 close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
986 if (input_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
987 close(input_fd[PIPE_WRITE]); in semanage_pipe_data()