syscall.sh / x32 / semop

semop

System V semaphore operations

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

Registers

registervalue
rax1073741889, the syscall number
rdiint semid
rsistruct sembuf *sops
rdxunsigned nsops
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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