syscall.sh / nios2 / shmctl

shmctl

System V shared memory control

sys_shmctl(int shmid, int cmd, struct shmid_ds *buf)
number195 (0xc3)
abicommon
entry pointsys_shmctl
sinceLinux 3.19
man pageshmctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r2195, the syscall number
r4int shmid
r5int cmd
r6struct shmid_ds *buf
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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