syscall.sh / x86 / mmap

mmap

map or unmap files or devices into memory

sys_old_mmap(struct mmap_arg_struct *arg)
number90 (0x5a)
abii386
entry pointsys_old_mmap
sinceLinux 3.3
man pagemmap(2)
sourceelixir.bootlin.com

Registers

registervalue
eax90, the syscall number
ebxstruct mmap_arg_struct *arg
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/mmap