syscall.sh / parisc / msgctl
msgctl
System V message control operations
sys_msgctl(int msqid, int cmd, struct msqid_ds *buf)
| number | 191 (0xbf) |
|---|---|
| abi | common |
| entry point | sys_msgctl |
| since | Linux 5.0 |
| man page | msgctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 191, the syscall number |
r26 | int msqid |
r25 | int cmd |
r24 | struct msqid_ds *buf |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 71
- x86 402
- arm64 187
- arm 304
- riscv64 187
- x32 1073741895
- loongarch64 187
- ppc64 402
- ppc 402
- s390x 402
- mips64 5069
- mipsn32 6069
- mipso32 4402
- alpha 200
- arc 187
- csky 187
- hexagon 187
- m68k 402
- microblaze 331
- nios2 187
- openrisc 187
- sh 402
- sparc 402
- sparc64 402
- xtensa 169
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/msgctl