syscall.sh / x86 / mq_getsetattr

mq_getsetattr

get/set message queue attributes

sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat)
number282 (0x11a)
abii386
entry pointsys_mq_getsetattr
sinceLinux 3.4
man pagemq_getsetattr(2)
sourceelixir.bootlin.com

Registers

registervalue
eax282, the syscall number
ebxmqd_t mqdes
ecxconst struct mq_attr *mqstat
edxstruct mq_attr *omqstat
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_getsetattr