msgget on score
get a System V message queue identifier
sys_msgget(key_t key, int msgflg)
| number | 186 (0xba) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on score |
| entry point | sys_msgget |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | msgget(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 186, the syscall number |
r4 | key_t key |
r5 | int msgflg |
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 68
- x86 399
- arm64 186
- arm 303
- riscv64 186
- ia32 399
- x32 1073741892
- loongarch64 186
- ppc64 399
- ppc 399
- s390x 399
- mips64 5066
- mipsn32 6066
- mipso32 4399
- alpha 201
- arc 186
- blackfin 335, removed in 4.17
- csky 186
- hexagon 186
- ia64 1109, removed in 6.7
- m68k 399
- metag 186, removed in 4.17
- microblaze 332
- nds32 186, removed in 5.18
- nios2 186
- openrisc 186
- parisc 190
- sh 399
- sparc 399
- sparc64 399
- tilegx 186, removed in 4.17
- tilepro 186, removed in 4.17
- xtensa 166
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/msgget?kernel=all