syscall.sh / mipsn32 / semctl

semctl

System V semaphore control operations

compat_sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg)
number6064 (0x17b0)
abin32
entry pointcompat_sys_old_semctl
sinceLinux 5.0
man pagesemctl(2)
sourceelixir.bootlin.com

Registers

registervalue
v06064, the syscall number
a0int semid
a1int semnum
a2int cmd
a3unsigned long arg
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/semctl