syscall.sh / sh / munmap

munmap

map or unmap files or devices into memory

sys_munmap(unsigned long addr, size_t len)
number91 (0x5b)
abicommon
entry pointsys_munmap
sinceLinux 5.0
man pagemunmap(2)
sourceelixir.bootlin.com

Registers

registervalue
r391, the syscall number
r4unsigned long addr
r5size_t len
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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