[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] linux-user: emulate msgsnd(), msgrcv() and s
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v2] linux-user: emulate msgsnd(), msgrcv() and semtimedop() |
Date: |
Wed, 29 May 2019 11:31:19 +0200 |
On Wed, 29 May 2019 10:48:04 +0200
Laurent Vivier <address@hidden> wrote:
> When we have updated kernel headers to 5.2-rc1 we have introduced
> new syscall numbers that can be not supported by older kernels
> and fail with ENOSYS while the guest emulation succeeded before
> because the syscalls were emulated with ipc().
>
> This patch fixes the problem by using ipc() if the new syscall
> returns ENOSYS.
>
> Fixes: 86e636951ddc ("linux-user: fix __NR_semtimedop undeclared error")
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
>
> Notes:
> v2: replace ENOSYS by TARGET_ENOSYS
>
> linux-user/syscall.c | 61 +++++++++++++++++++--------------------
> linux-user/syscall_defs.h | 1 +
> 2 files changed, 31 insertions(+), 31 deletions(-)
I hope this headers update is now done with bringing joy :)
Not a linux-user expert, but it does look reasonable.
Reviewed-by: Cornelia Huck <address@hidden>