semget on ia32

get a System V semaphore set identifier

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

Registers

registervalue
eax393, the syscall number
ebxkey_t key
ecxint nsems
edxint semflg
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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