These two changes implements epoll_pwait2 system call. First is a clean-up so the actual implementation is simpler.
v2: add the get_errno() wrapper missing in v1. That was a brown-paper bag bug again. I also checked the CI/build failure of the very first attempt to implement this syscall by Zixing Liu, see https://lists.gnu.org/archive/html/qemu-trivial/2025-05/msg00054.html - the issue was due to incomplete in-qemu copy of linux-headers, which is now fixed (by dropping the old copy entirely). Michael Tokarev (2): linux-user: cleanup epoll_pwait ifdeff'ery linux-user: implement epoll_pwait2 syscall linux-user/syscall.c | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) -- 2.47.3
