On Wed, 29 May 2019 10:48:04 +0200
Laurent Vivier <[email protected]> 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 <[email protected]>
> ---
>
> 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 <[email protected]>