Fix 32 bit overflow issues. v2: - check for return value not exceeding requested size [1/3] - split patch: limit copy size for old API [2/3], add new API [3/3] Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx> --- Miklos Szeredi (3): fuse: check if copy_file_range() returns larger than requested size fuse: prevent overflow in copy_file_range return value fuse: add COPY_FILE_RANGE_64 that allows large copies fs/fuse/file.c | 39 +++++++++++++++++++++++++++++++-------- fs/fuse/fuse_i.h | 3 +++ include/uapi/linux/fuse.h | 12 +++++++++++- 3 files changed, 45 insertions(+), 9 deletions(-) -- 2.49.0