Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2240084pxb; Mon, 18 Jan 2021 12:01:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKdDUZtUBHxof+/U77mukY6C50JU2WJJl9MZ4244VnPd6py5nV+QS6kCxHCBRsys33ZIlU X-Received: by 2002:a50:d50a:: with SMTP id u10mr833570edi.58.1611000106462; Mon, 18 Jan 2021 12:01:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611000106; cv=none; d=google.com; s=arc-20160816; b=d3yTS0HC2yYvxjx4ZBIMjzansNKjwGDRJga0HzPbqzpFlGgGAjGLc6drtb9ux7YQa/ jHS1PPl3vaOTm10d4A+d17axov5WKQ7VtXXHu9DhZH/E+z4Kx3kD+dJHfKLUmDFfJrCB M7uTWx9W6ahn8UrlXNC6+lo3API0peati0Aw+iFOBl15riZFkvt0t+WELeIrghK7Sllo 4JYHGyIsMMem4K+uzdY3YVT48b/H0vy9VEGBK1uZ70kX4X8VuA4R+vUOZ/ZnAdGdnPlh ciufDQGOBa9zMxgf7a1uVn4sHre1UwpLT0BXnl/rkFeMe03MfIpyixKG1AQ/C8kFy16e IHeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qZKn0qRSAh7TqhcvJWJNm2bQRiyBP8Y68L0L6Al02UA=; b=Emm577LAJ5lA1iRmxD9EY3EgETgCVKuhjqediCH/nVTGIsLk6bdsMqKt9uyFeN/Hyu Ogoy0aXfDV8q1+ifz6T24wJY7Tq67hp+JA9GVnrmOPbMRX29QQOS5G2SMEneGTsjsLUd tJjZ0ju3aZY5vKwh+eDXSnU2cfY+At5IebzYlTdvcial1U4uhvwowHQrIL9F6tuQvbVB QxFbJVv/YljJExagWgzWY31FV8eUhsRrpPFEPAi3tz7wz32EbJX0MSpgsYdh+5gl6ZSt TAy+ehVfoKqJ7TC+Y3lsCoUhpK1x4uK2w7CFq6ySOroe70sGub8KwuKLbg7eRz1FCVz2 viVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j27si8110519edj.268.2021.01.18.12.01.22; Mon, 18 Jan 2021 12:01:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437519AbhART6S (ORCPT + 99 others); Mon, 18 Jan 2021 14:58:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437410AbhART5c (ORCPT ); Mon, 18 Jan 2021 14:57:32 -0500 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 688E1C061574 for ; Mon, 18 Jan 2021 11:56:52 -0800 (PST) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94 #2 (Red Hat Linux)) id 1l1adr-0036Zp-T9; Mon, 18 Jan 2021 19:56:48 +0000 Date: Mon, 18 Jan 2021 19:56:47 +0000 From: Al Viro To: Linus Torvalds Cc: Johannes Berg , Christoph Hellwig , Oliver Giles , Linux Kernel Mailing List , Greg Kroah-Hartman Subject: Re: Splicing to/from a tty Message-ID: <20210118195647.GA740243@zeniv-ca> References: <20210118085311.GA2735@lst.de> <20210118194545.GB736435@zeniv-ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 11:49:53AM -0800, Linus Torvalds wrote: > On Mon, Jan 18, 2021 at 11:45 AM Al Viro wrote: > > > > do_splice_direct() does something that do_splice() won't - it > > handles non-pipe to non-pipe case. Which is how sendfile(2) is > > normally used, of course. > > Yeah, I agree, it's better if we do the pipe case specially, but if > it's too painful for a stable backport I'll certainly take the > one-liner.. > > Btw, your email setup is broken. Your emails now have a "From:" line like this: > > From: Al Viro > > and that is not a valid email address. Just noticed, should be fixed now...