syscall.sh / parisc / recv
recv
receive a message from a socket
sys_recv(int fd, void *ubuf, size_t size, unsigned int flags)
| number | 98 (0x62) |
|---|---|
| abi | common |
| entry point | sys_recv |
| since | Linux 5.0 |
| man page | recv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 98, the syscall number |
r26 | int fd |
r25 | void *ubuf |
r24 | size_t size |
r23 | unsigned int flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/recv