syscall.sh / arm / semop

semop

System V semaphore operations

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

Registers

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

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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