syscall.sh / hexagon / 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
r6195, the syscall number
r0int shmid
r1int cmd
r2struct shmid_ds *buf
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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