syscall.sh / microblaze / shmctl

shmctl

System V shared memory control

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

Registers

registervalue
r12336, the syscall number
r5int shmid
r6int cmd
r7struct shmid_ds *buf
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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