recvmsg on ia32

receive a message from a socket

compat_sys_recvmsg(int fd, struct user_msghdr *msg, unsigned int flags)
number372 (0x174)
abii386
entry pointcompat_sys_recvmsg
sinceLinux 4.3
man pagerecvmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
eax372, the syscall number
ebxint fd
ecxstruct user_msghdr *msg
edxunsigned int flags
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/recvmsg