recv on score
receive a message from a socket
sys_recv(int fd, void *ubuf, size_t size, unsigned int flags)
| number | 1073 (0x431) |
|---|---|
| abi | common |
| entry point | sys_recv |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | recv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1073, the syscall number |
r4 | int fd |
r5 | void *ubuf |
r6 | size_t size |
r7 | unsigned int flags |
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.
Same syscall on other architectures
- arm 291
- ppc64 336
- ppc 336
- mipso32 4175
- alpha 102
- blackfin 321, removed in 4.17
- ia64 1200, removed in 6.7
- microblaze 356
- parisc 98
- sh 350
- xtensa 109
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/recv?kernel=all