mq_notify on score
register for notification when a message is available
sys_mq_notify(mqd_t mqdes, const struct sigevent *notification)
| number | 184 (0xb8) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_MQUEUE |
| family | mqueue see the whole family on score |
| entry point | sys_mq_notify |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | mq_notify(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 184, the syscall number |
r4 | mqd_t mqdes |
r5 | const struct sigevent *notification |
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 244
- x86 281
- arm64 184
- arm 278
- riscv64 184
- ia32 281
- x32 1073742351
- loongarch64 184
- ppc64 266
- ppc 266
- s390x 275
- mips64 5234
- mipsn32 6238
- mipso32 4275
- alpha 436
- arc 184
- blackfin 282, removed in 4.17
- cris 281, removed in 4.17
- csky 184
- frv 281, removed in 4.17
- hexagon 184
- ia64 1266, removed in 6.7
- m32r 281, removed in 4.17
- m68k 275
- metag 184, removed in 4.17
- microblaze 281
- mn10300 281, removed in 4.17
- nds32 184, removed in 5.18
- nios2 184
- openrisc 184
- parisc 233
- sh 281
- sparc 277
- sparc64 277
- tilegx 184, removed in 4.17
- tilepro 184, removed in 4.17
- xtensa 236
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/mq_notify?kernel=all