syscall.sh / openrisc / 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.7
man pageshmctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r11195, the syscall number
r3int shmid
r4int cmd
r5struct shmid_ds *buf
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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