Lines Matching refs:err_fd
662 int err_fd[2]; in semanage_pipe_data() local
694 retval = pipe(err_fd); in semanage_pipe_data()
716 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO); in semanage_pipe_data()
732 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
757 retval = close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
758 err_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
789 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
793 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
794 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
833 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
834 close(err_fd[PIPE_READ]); in semanage_pipe_data()
836 if (err_fd[PIPE_WRITE] != -1) { in semanage_pipe_data()
837 close(err_fd[PIPE_WRITE]); in semanage_pipe_data()