linux-user/syscall.c: add target-to-host mapping for epoll_create1()
commit386d38656889a40d29b514ee6f34997ca18f741e
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 15 Apr 2020 22:05:08 +0000 (15 23:05 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 16 Apr 2020 07:24:22 +0000 (16 09:24 +0200)
tree9eeb79a6e71546938530b38a431a04ad2abd1a82
parent20038cd7a8412feeb49c01f6ede89e36c8995472
linux-user/syscall.c: add target-to-host mapping for epoll_create1()

Noticed by Barnabás Virágh as a python-3.7 failue on qemu-alpha.

The bug shows up on alpha as it's one of the targets where
EPOLL_CLOEXEC differs from other targets:
    sysdeps/unix/sysv/linux/alpha/bits/epoll.h: EPOLL_CLOEXEC  = 01000000
    sysdeps/unix/sysv/linux/bits/epoll.h:        EPOLL_CLOEXEC = 02000000

Bug: https://bugs.gentoo.org/717548
Reported-by: Barnabás Virágh
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
CC: Riku Voipio <riku.voipio@iki.fi>
CC: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200415220508.5044-1-slyfox@gentoo.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c