syscall.sh / x32 / sendmsg
sendmsg
send a message on a socket
compat_sys_sendmsg(int fd, struct user_msghdr *msg, unsigned int flags)
| number | 1073742342 (0x40000206) |
|---|---|
| abi | x32 |
| entry point | compat_sys_sendmsg |
| since | Linux 3.4 |
| man page | sendmsg(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742342, the syscall number |
rdi | int fd |
rsi | struct user_msghdr *msg |
rdx | unsigned int flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 46
- x86 370
- arm64 211
- arm 296
- riscv64 211
- loongarch64 211
- ppc64 341
- ppc 341
- s390x 370
- mips64 5045
- mipsn32 6045
- mipso32 4179
- alpha 114
- arc 211
- csky 211
- hexagon 211
- m68k 367
- microblaze 360
- nios2 211
- openrisc 211
- parisc 183
- sh 355
- sparc 114
- sparc64 114
- xtensa 106
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/sendmsg