syscall.sh / x86 / mq_open

mq_open

open a message queue

sys_mq_open(const char *name, int oflag, umode_t mode, struct mq_attr *attr)
number277 (0x115)
abii386
entry pointsys_mq_open
sinceLinux 3.3
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.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/mq_open