sendto on score
send a message on a socket
sys_sendto(int fd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len)
| number | 206 (0xce) |
|---|---|
| abi | common |
| entry point | sys_sendto |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sendto(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 206, the syscall number |
r4 | int fd |
r5 | void *buff |
r6 | size_t len |
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 44
- x86 369
- arm64 206
- arm 290
- riscv64 206
- ia32 369
- x32 1073741868
- loongarch64 206
- ppc64 335
- ppc 335
- s390x 369
- mips64 5043
- mipsn32 6043
- mipso32 4180
- alpha 133
- arc 206
- blackfin 326, removed in 4.17
- csky 206
- hexagon 206
- ia64 1199, removed in 6.7
- m68k 366
- metag 206, removed in 4.17
- microblaze 353
- nds32 206, removed in 5.18
- nios2 206
- openrisc 206
- parisc 82
- sh 349
- sparc 133
- sparc64 133
- tilegx 206, removed in 4.17
- tilepro 206, removed in 4.17
- xtensa 110
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sendto?kernel=all