recvfrom on score
receive a message from a socket
sys_recvfrom(int fd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
| number | 207 (0xcf) |
|---|---|
| abi | common |
| entry point | sys_recvfrom |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | recvfrom(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 207, the syscall number |
r4 | int fd |
r5 | void *ubuf |
r6 | size_t size |
r7 | unsigned int flags |
r8 | struct sockaddr *addr |
r9 | int *addr_len |
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
- x64 45
- x86 371
- arm64 207
- arm 292
- riscv64 207
- ia32 371
- x32 1073742341
- loongarch64 207
- ppc64 337
- ppc 337
- s390x 371
- mips64 5044
- mipsn32 6044
- mipso32 4176
- alpha 125
- arc 207
- blackfin 322, removed in 4.17
- csky 207
- hexagon 207
- ia64 1201, removed in 6.7
- m68k 368
- metag 207, removed in 4.17
- microblaze 355
- nds32 207, removed in 5.18
- nios2 207
- openrisc 207
- parisc 123
- sh 351
- sparc 125
- sparc64 125
- tilegx 207, removed in 4.17
- tilepro 207, removed in 4.17
- xtensa 111
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/recvfrom?kernel=all