syscall.sh / arc / semop

semop

System V semaphore operations

sys_semop(int semid, struct sembuf *sops, unsigned nsops)
number193 (0xc1)
abicommon
entry pointsys_semop
sinceLinux 3.9
man pagesemop(2)
sourceelixir.bootlin.com

Registers

registervalue
r8193, the syscall number
r0int semid
r1struct sembuf *sops
r2unsigned nsops
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/semop