syscall.sh / x64 / mq_open

mq_open

open a message queue

sys_mq_open(const char *name, int oflag, umode_t mode, struct mq_attr *attr)
number240 (0xf0)
abicommon
entry pointsys_mq_open
sinceLinux 3.3
man pagemq_open(2)
sourceelixir.bootlin.com

Registers

registervalue
rax240, the syscall number
rdiconst char *name
rsiint oflag
rdxumode_t mode
r10struct mq_attr *attr
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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