syscall.sh / x32 / remap_file_pages

remap_file_pages

create a nonlinear file mapping

sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags)
number1073742040 (0x400000d8)
abicommon
entry pointsys_remap_file_pages
sinceLinux 3.4
man pageremap_file_pages(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742040, the syscall number
rdiunsigned long start
rsiunsigned long size
rdxunsigned long prot
r10unsigned long pgoff
r8unsigned long flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/remap_file_pages