https://bugzilla.kernel.org/show_bug.cgi?id=95331 --- Comment #18 from Jason Vas Dias <jason.vas.dias@xxxxxxxxx> --- static ssize_t pipe_write(struct kiocb *iocb, struct iov_iter *from) { if (!pipe->readers) { if( (!(filp->f_flags & O_NONBLOCK)) && ((!pipe->sigio_on_write_enabled) || !pipe->sigpipe_sent ) ) { pipe->sigpipe_sent = 1; send_sig(SIGPIPE, current, 0); ret = -EPIPE; goto out; }else if(pipe->sigio_on_write_enabled && pipe->sigpipe_sent) if ((!(filp->f_flags & O_NONBLOCK)) && wait_for_partner(pipe, &pipe->r_counter)) goto err_wr; } }else { pipe->sigpipe_sent = 0; ... } ... } -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html