mq_getsetattr on ia32

get/set message queue attributes

compat_sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat)
number282 (0x11a)
abii386
kconfigCONFIG_POSIX_MQUEUE
familymqueue
entry pointcompat_sys_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.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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