Re: Avoid unprivileged splice(file->)/(->socket) pipe exclusion

From: Askar Safin
Date: Mon Dec 25 2023 - 16:35:48 EST


Hi, Ahelenia Ziemiańska! Thanks a lot for all this splice-related hard work!

In https://lore.kernel.org/lkml/CAHk-=wgG_2cmHgZwKjydi7=iimyHyN8aessnbM9XQ9ufbaUz9g@xxxxxxxxxxxxxx/
Linus said:
> I have grown to pretty much hate
> splice() over the years, just because it's been a constant source of
> sorrow in so many ways.

> It's just that it was never as lovely and as useful as it promised to
> be. So I'd actually be more than happy to just say "let's decommission
> splice entirely, just keeping the interfaces alive for backwards
> compatibility"

So probably we should do this as Linus suggested? I. e. fully remove
splice by replacing it with trivial read-write?

--
Askar Safin