msgrcv on ia32

System V message queue operations

compat_sys_msgrcv(int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, int msgflg)
number401 (0x191)
abii386
kconfigCONFIG_SYSVIPC
familysysvipc
entry pointcompat_sys_msgrcv
sinceLinux 5.1
man pagemsgrcv(2)
sourceelixir.bootlin.com

Registers

registervalue
eax401, the syscall number
ebxint msqid
ecxstruct msgbuf *msgp
edxsize_t msgsz
esilong msgtyp
ediint msgflg
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/msgrcv