syscall.sh / ppc / 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
r0396, the syscall number
r3int shmid
r4int cmd
r5struct shmid_ds *buf
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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