syscall.sh / mipso32 / shmctl
shmctl
System V shared memory control
sys_shmctl(int shmid, int cmd, struct shmid_ds *buf)
| number | 4396 (0x112c) |
|---|---|
| abi | o32 |
| entry point | sys_shmctl |
| since | Linux 5.1 |
| man page | shmctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4396, the syscall number |
a0 | int shmid |
a1 | int cmd |
a2 | struct shmid_ds *buf |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 31
- x86 396
- arm64 195
- arm 308
- riscv64 195
- x32 1073741855
- loongarch64 195
- ppc64 396
- ppc 396
- s390x 396
- mips64 5030
- mipsn32 6030
- alpha 210
- arc 195
- csky 195
- hexagon 195
- m68k 396
- microblaze 336
- nios2 195
- openrisc 195
- parisc 195
- sh 396
- sparc 396
- sparc64 396
- xtensa 94
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/shmctl