waitid on ia32

wait for process to change state

compat_sys_waitid(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
number284 (0x11c)
abii386
entry pointcompat_sys_waitid
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pagewaitid(2)
sourceelixir.bootlin.com

Registers

registervalue
eax284, the syscall number
ebxint which
ecxpid_t pid
edxstruct siginfo *infop
esiint options
edistruct rusage *ru
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/waitid