syscall.sh / s390x / waitid

waitid

wait for process to change state

sys_waitid(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
number281 (0x119)
abicommon
entry pointsys_waitid
sinceLinux 4.16
man pagewaitid(2)
sourceelixir.bootlin.com

Registers

registervalue
r1281, the syscall number
r2int which
r3pid_t pid
r4struct siginfo *infop
r5int options
r6struct rusage *ru
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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