syscall.sh / arm / semtimedop

semtimedop

System V semaphore operations

sys_semtimedop_time32(int semid, struct sembuf *sops, unsigned nsops, const struct old_timespec32 *timeout)
number312 (0x138)
abicommon
entry pointsys_semtimedop_time32
sinceLinux 4.10
man pagesemtimedop(2)
sourceelixir.bootlin.com

Registers

registervalue
r7312, the syscall number
r0int semid
r1struct sembuf *sops
r2unsigned nsops
r3const struct old_timespec32 *timeout
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/semtimedop