syscall.sh / microblaze / semctl

semctl

System V semaphore control operations

sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg)
number328 (0x148)
abicommon
entry pointsys_old_semctl
sinceLinux 5.0
man pagesemctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r12328, the syscall number
r5int semid
r6int semnum
r7int cmd
r8unsigned long arg
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/semctl