Thread (77 messages) 77 messages, 8 authors, 2019-05-21

Re: [PATCH 04/11] vfs: add missing checks to copy_file_range

From: Amir Goldstein <amir73il@gmail.com>
Date: 2018-12-03 12:43:40
Also in: linux-fsdevel, linux-nfs, linux-unionfs

On Mon, Dec 3, 2018 at 10:34 AM Dave Chinner [off-list ref] wrote:
From: Dave Chinner <redacted>

Like the clone and dedupe interfaces we've recently fixed, the
copy_file_range() implementation is missing basic sanity, limits and
boundary condition tests on the parameters that are passed to it
from userspace. Create a new "generic_copy_file_checks()" function
modelled on the generic_remap_checks() function to provide this
missing functionality.

Signed-off-by: Dave Chinner <redacted>
---
Looks good.

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help