syscall.sh / m68k / mq_open

mq_open

open a message queue

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

Registers

registervalue
d0271, the syscall number
d1const char *name
d2int oflag
d3umode_t mode
d4struct mq_attr *attr
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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