syscall.sh / x32 / mq_timedsend
mq_timedsend
send a message to a message queue
sys_mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec *abs_timeout)
| number | 1073742066 (0x400000f2) |
|---|---|
| abi | common |
| entry point | sys_mq_timedsend |
| since | Linux 3.4 |
| man page | mq_timedsend(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742066, the syscall number |
rdi | mqd_t mqdes |
rsi | const char *msg_ptr |
rdx | size_t msg_len |
r10 | unsigned int msg_prio |
r8 | const struct __kernel_timespec *abs_timeout |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 242
- x86 279
- arm64 182
- arm 276
- riscv64 182
- loongarch64 182
- ppc64 264
- ppc 264
- s390x 273
- mips64 5232
- mipsn32 6236
- mipso32 4273
- alpha 434
- arc 182
- csky 182
- hexagon 182
- m68k 273
- microblaze 279
- nios2 182
- openrisc 182
- parisc 231
- sh 279
- sparc 275
- sparc64 275
- xtensa 234
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/mq_timedsend