syscall.sh / microblaze / semget

semget

get a System V semaphore set identifier

sys_semget(key_t key, int nsems, int semflg)
number329 (0x149)
abicommon
entry pointsys_semget
sinceLinux 5.0
man pagesemget(2)
sourceelixir.bootlin.com

Registers

registervalue
r12329, the syscall number
r5key_t key
r6int nsems
r7int semflg
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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