mmap on ia32

map or unmap files or devices into memory

compat_sys_ia32_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off)
number90 (0x5a)
abii386
entry pointcompat_sys_ia32_mmap
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pagemmap(2)
sourceelixir.bootlin.com

Registers

registervalue
eax90, the syscall number
ebxunsigned long addr
ecxunsigned long len
edxunsigned long prot
esiunsigned long flags
ediunsigned long fd
ebpunsigned long off
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/mmap