syscall.sh / sparc / 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
g1396, the syscall number
o0int shmid
o1int cmd
o2struct shmid_ds *buf
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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