syscall.sh / x86 / waitid

waitid

wait for process to change state

sys_waitid(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
number284 (0x11c)
abii386
entry pointsys_waitid
sinceLinux 3.3
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.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/waitid