syscall.sh / xtensa / mq_getsetattr

mq_getsetattr

get/set message queue attributes

sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat)
number237 (0xed)
abicommon
entry pointsys_mq_getsetattr
sinceLinux 5.0
man pagemq_getsetattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a2237, the syscall number
a6mqd_t mqdes
a3const struct mq_attr *mqstat
a4struct mq_attr *omqstat
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/mq_getsetattr