syscall.sh / xtensa / semctl

semctl

System V semaphore control operations

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

Registers

registervalue
a2164, the syscall number
a6int semid
a3int semnum
a4int cmd
a5unsigned long arg
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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