Lines Matching refs:err_fd
806 int err_fd[2] = {-1, -1}; in semanage_pipe_data() local
838 retval = pipe(err_fd); in semanage_pipe_data()
860 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO); in semanage_pipe_data()
876 retval = close(err_fd[PIPE_READ]); 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()
933 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
937 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
938 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
977 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
978 close(err_fd[PIPE_READ]); 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()