syscall.sh / parisc / waitid
waitid
wait for process to change state
sys_waitid(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
| number | 235 (0xeb) |
|---|---|
| abi | common |
| entry point | sys_waitid |
| since | Linux 5.0 |
| man page | waitid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 235, the syscall number |
r26 | int which |
r25 | pid_t pid |
r24 | struct siginfo *infop |
r23 | int options |
r22 | struct rusage *ru |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 247
- x86 284
- arm64 95
- arm 280
- riscv64 95
- x32 1073742353
- loongarch64 95
- ppc64 272
- ppc 272
- s390x 281
- mips64 5237
- mipsn32 6241
- mipso32 4278
- alpha 438
- arc 95
- csky 95
- hexagon 95
- m68k 277
- microblaze 284
- nios2 95
- openrisc 95
- sh 284
- sparc 279
- sparc64 279
- xtensa 122
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/waitid