sendmsg on score
send a message on a socket
sys_sendmsg(int fd, struct user_msghdr *msg, unsigned int flags)
| number | 211 (0xd3) |
|---|---|
| abi | common |
| entry point | sys_sendmsg |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sendmsg(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 211, the syscall number |
r4 | int fd |
r5 | struct user_msghdr *msg |
r6 | 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
- x64 46
- x86 370
- arm64 211
- arm 296
- riscv64 211
- ia32 370
- x32 1073742342
- loongarch64 211
- ppc64 341
- ppc 341
- s390x 370
- mips64 5045
- mipsn32 6045
- mipso32 4179
- alpha 114
- arc 211
- blackfin 325, removed in 4.17
- csky 211
- hexagon 211
- ia64 1205, removed in 6.7
- m68k 367
- metag 211, removed in 4.17
- microblaze 360
- nds32 211, removed in 5.18
- nios2 211
- openrisc 211
- parisc 183
- sh 355
- sparc 114
- sparc64 114
- tilegx 211, removed in 4.17
- tilepro 211, removed in 4.17
- xtensa 106
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sendmsg?kernel=all