Lines Matching refs:PIPE_WRITE
60 #define PIPE_WRITE 1 macro
731 retval = dup2(output_fd[PIPE_WRITE], STDOUT_FILENO); in semanage_pipe_data()
736 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO); in semanage_pipe_data()
742 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data()
770 retval = close(output_fd[PIPE_WRITE]); in semanage_pipe_data()
771 output_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
777 retval = close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
778 err_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
784 retval = write(input_fd[PIPE_WRITE], in_data, in_data_len); in semanage_pipe_data()
789 retval = close(input_fd[PIPE_WRITE]); in semanage_pipe_data()
790 input_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
850 if (output_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
851 close(output_fd[PIPE_WRITE]); in semanage_pipe_data()
856 if (err_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
857 close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
862 if (input_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
863 close(input_fd[PIPE_WRITE]); in semanage_pipe_data()