oldwait4 on score
sys_wait4(pid_t pid, int *stat_addr, int options, struct rusage *ru)
| number | 1072 (0x430) |
|---|---|
| abi | common |
| entry point | sys_wait4 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1072, the syscall number |
r4 | pid_t pid |
r5 | int *stat_addr |
r6 | int options |
r7 | struct rusage *ru |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/oldwait4?kernel=all