Re: [PATCH] linux-user: Add translation for argument of msync()

2023-03-07 Thread Laurent Vivier
Le 15/12/2022 à 08:27, Helge Deller a écrit : msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This fixes the testsuite of the macaulay2 debian

Re: [PATCH] linux-user: Add translation for argument of msync()

2023-03-07 Thread Laurent Vivier
Le 15/12/2022 à 08:27, Helge Deller a écrit : msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This fixes the testsuite of the macaulay2 debian

Re: [PATCH] linux-user: Add translation for argument of msync()

2022-12-15 Thread Richard Henderson
Host! r~ On Thu, 15 Dec 2022, 12:58 Philippe Mathieu-Daudé, wrote: > On 15/12/22 16:58, Richard Henderson wrote: > > On 12/14/22 23:58, Philippe Mathieu-Daudé wrote: > >>> --- a/linux-user/alpha/target_mman.h > >>> +++ b/linux-user/alpha/target_mman.h > >>> @@ -3,6 +3,10 @@ > >>> > >>> #defin

Re: [PATCH] linux-user: Add translation for argument of msync()

2022-12-15 Thread Philippe Mathieu-Daudé
On 15/12/22 16:58, Richard Henderson wrote: On 12/14/22 23:58, Philippe Mathieu-Daudé wrote: --- a/linux-user/alpha/target_mman.h +++ b/linux-user/alpha/target_mman.h @@ -3,6 +3,10 @@   #define TARGET_MADV_DONTNEED 6 +#define TARGET_MS_ASYNC 1 +#define TARGET_MS_SYNC 2 +#define TARGET_MS_INVAL

Re: [PATCH] linux-user: Add translation for argument of msync()

2022-12-15 Thread Richard Henderson
On 12/14/22 23:58, Philippe Mathieu-Daudé wrote: --- a/linux-user/alpha/target_mman.h +++ b/linux-user/alpha/target_mman.h @@ -3,6 +3,10 @@   #define TARGET_MADV_DONTNEED 6 +#define TARGET_MS_ASYNC 1 +#define TARGET_MS_SYNC 2 +#define TARGET_MS_INVALIDATE 4 +   #include "../generic/target_mman.

Re: [PATCH] linux-user: Add translation for argument of msync()

2022-12-15 Thread Helge Deller
On 12/15/22 08:58, Philippe Mathieu-Daudé wrote: On 15/12/22 08:27, Helge Deller wrote: msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This

Re: [PATCH] linux-user: Add translation for argument of msync()

2022-12-14 Thread Philippe Mathieu-Daudé
On 15/12/22 08:27, Helge Deller wrote: msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This fixes the testsuite of the macaulay2 debian packag

[PATCH] linux-user: Add translation for argument of msync()

2022-12-14 Thread Helge Deller
msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ between platforms, specifcally on alpha and hppa. Add a target to host translation for those and wire up a nicer strace output. This fixes the testsuite of the macaulay2 debian package with a hppa-linux guest on a x86-64 hos