syscall.sh / sparc64 / mremap

mremap

remap a virtual memory address

sys_64_mremap(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr)
number250 (0xfa)
abi64
entry pointsys_64_mremap
sinceLinux 5.0
man pagemremap(2)
sourceelixir.bootlin.com

Registers

registervalue
g1250, the syscall number
o0unsigned long addr
o1unsigned long old_len
o2unsigned long new_len
o3unsigned long flags
o4unsigned long new_addr
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/mremap