syscall.sh / mipso32 / mq_getsetattr
mq_getsetattr
get/set message queue attributes
sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat)
| number | 4276 (0x10b4) |
|---|---|
| abi | o32 |
| entry point | sys_mq_getsetattr |
| since | Linux 5.0 |
| man page | mq_getsetattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4276, the syscall number |
a0 | mqd_t mqdes |
a1 | const struct mq_attr *mqstat |
a2 | struct mq_attr *omqstat |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 245
- x86 282
- arm64 185
- arm 279
- riscv64 185
- x32 1073742069
- loongarch64 185
- ppc64 267
- ppc 267
- s390x 276
- mips64 5235
- mipsn32 6239
- alpha 437
- arc 185
- csky 185
- hexagon 185
- m68k 276
- microblaze 282
- nios2 185
- openrisc 185
- parisc 234
- sh 282
- sparc 278
- sparc64 278
- xtensa 237
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/mq_getsetattr