syscall.sh / s390x / 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)
number267 (0x10b)
abicommon
entry pointsys_remap_file_pages
sinceLinux 4.16
man pageremap_file_pages(2)
sourceelixir.bootlin.com

Registers

registervalue
r1267, the syscall number
r2unsigned long start
r3unsigned long size
r4unsigned long prot
r5unsigned long pgoff
r6unsigned long flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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