syscall.sh / s390x / 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 4.16
man pagemq_open(2)
sourceelixir.bootlin.com

Registers

registervalue
r1271, the syscall number
r2const char *name
r3int oflag
r4umode_t mode
r5struct mq_attr *attr
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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