qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Laurent Vivier
Subject: Re: [PATCH 0/2] linux-user: Small fix for copy_file_range
Date: Sat, 15 May 2021 21:49:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Le 03/05/2021 à 19:41, LemonBoy a écrit :
> 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(-)
> 


Applied to my linux-user-for-6.1 branch.

Thanks,
Laurent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]