syscall.sh / x64 / semop

semop

System V semaphore operations

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

Registers

registervalue
rax65, 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/x64/semop