Re: [RFC PATCH 1/4] splice: Fix corruption of spliced data after splice() returns

From: David Howells
Date: Mon Jul 24 2023 - 12:16:59 EST


Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> Both source and destination of copy_file_range() are regular files and

Ah - the check is in generic_file_rw_checks(). Okay, nevermind. (Though it
looks like it might allow this to be used with procfiles and suchlike, but
anyone who tries that had probably better know what they're doing).

David