mq_open on ia32

open a message queue

compat_sys_mq_open(const char *name, int oflag, umode_t mode, struct mq_attr *attr)
number277 (0x115)
abii386
kconfigCONFIG_POSIX_MQUEUE
familymqueue
entry pointcompat_sys_mq_open
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pagemq_open(2)
sourceelixir.bootlin.com

Registers

registervalue
eax277, the syscall number
ebxconst char *name
ecxint oflag
edxumode_t mode
esistruct mq_attr *attr
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/mq_open