epoll_pwait2 on ia32

wait for an I/O event on an epoll file descriptor

compat_sys_epoll_pwait2(int epfd, struct epoll_event *events, int maxevents, const struct __kernel_timespec *timeout, const sigset_t *sigmask, size_t sigsetsize)
number441 (0x1b9)
abii386
kconfigCONFIG_EPOLL
familyepoll
entry pointcompat_sys_epoll_pwait2
sinceLinux 5.11
man pageepoll_pwait2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax441, the syscall number
ebxint epfd
ecxstruct epoll_event *events
edxint maxevents
esiconst struct __kernel_timespec *timeout
ediconst sigset_t *sigmask
ebpsize_t sigsetsize
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/epoll_pwait2