Skip to content

linux-user: Small fix for copy_file_range

LemonBoy qemu-devel 1 version Applied

Status from this message: Applied to my linux-user-for-6.1 branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2linux-user: Add copy_file_range to strace.listlinux-user/strace.list+3 -01 reply
2/2linux-user: Fix erroneous conversion in copy_file_rangelinux-user/syscall.c+2 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLaurent Vivier
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] linux-user: Small fix for copy_file_range

From: Giuseppe Musacchio <[email protected]>

An unwanted sign-extension is currently making the host kernel return EOVERFLOW when calling copy_file_range with a count of 0xffffffff, despite the host being a 64bit platform.

The fix is only affecting 32bit targets on 64bit hosts, it's a no-op when the target bitness matches the host one.

As a bonus add a pretty-printer for copy_file_range syscall.

Giuseppe Musacchio (2):
linux-user: Add copy_file_range to strace.list
linux-user: Fix erroneous conversion in copy_file_range

 linux-user/strace.list | 3 +++
 linux-user/syscall.c   | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.30.2