syscall.sh / xtensa / shmctl

shmctl

System V shared memory control

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

Registers

registervalue
a294, the syscall number
a6int shmid
a3int cmd
a4struct shmid_ds *buf
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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