Re: Splicing to/from a tty

From: Linus Torvalds
Date: Mon Jan 18 2021 - 14:52:19 EST


On Mon, Jan 18, 2021 at 11:45 AM Al Viro <viro@zeniv-ca> 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 <viro@zeniv-ca>

and that is not a valid email address.

Linus