syscall.sh / sparc / semget

semget

get a System V semaphore set identifier

sys_semget(key_t key, int nsems, int semflg)
number393 (0x189)
abicommon
entry pointsys_semget
sinceLinux 5.1
man pagesemget(2)
sourceelixir.bootlin.com

Registers

registervalue
g1393, the syscall number
o0key_t key
o1int nsems
o2int semflg
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/semget