syscall.sh / m68k / shmctl

shmctl

System V shared memory control

sys_shmctl(int shmid, int cmd, struct shmid_ds *buf)
number396 (0x18c)
abicommon
entry pointsys_shmctl
sinceLinux 5.1
man pageshmctl(2)
sourceelixir.bootlin.com

Registers

registervalue
d0396, the syscall number
d1int shmid
d2int cmd
d3struct shmid_ds *buf
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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