All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] linux-user: Small fix for copy_file_range
@ 2021-05-03 17:41 LemonBoy
  2021-05-03 17:41 ` [PATCH 1/2] linux-user: Add copy_file_range to strace.list LemonBoy
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: LemonBoy @ 2021-05-03 17:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc, laurent

From: Giuseppe Musacchio <thatlemon@gmail.com>

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(-)

-- 
2.30.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-15 19:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 17:41 [PATCH 0/2] linux-user: Small fix for copy_file_range LemonBoy
2021-05-03 17:41 ` [PATCH 1/2] linux-user: Add copy_file_range to strace.list LemonBoy
2021-05-03 18:42   ` Laurent Vivier
2021-05-03 17:41 ` [PATCH 2/2] linux-user: Fix erroneous conversion in copy_file_range LemonBoy
2021-05-03 18:47   ` Laurent Vivier
2021-05-15 19:49 ` [PATCH 0/2] linux-user: Small fix for copy_file_range Laurent Vivier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.