syscall.sh / s390x / semtimedop

semtimedop

System V semaphore operations

sys_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct __kernel_timespec *timeout)
number392 (0x188)
abicommon
entry pointsys_semtimedop
sinceLinux 5.1
man pagesemtimedop(2)
sourceelixir.bootlin.com

Registers

registervalue
r1392, the syscall number
r2int semid
r3struct sembuf *sops
r4unsigned nsops
r5const struct __kernel_timespec *timeout
r2the 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/s390x/semtimedop