syscall.sh / alpha / shmctl

shmctl

System V shared memory control

sys_old_shmctl(int shmid, int cmd, struct shmid_ds *buf)
number210 (0xd2)
abicommon
entry pointsys_old_shmctl
sinceLinux 5.0
man pageshmctl(2)
sourceelixir.bootlin.com

Registers

registervalue
v0210, the syscall number
a0int shmid
a1int cmd
a2struct shmid_ds *buf
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/shmctl