syscall.sh / riscv64 / munlock

munlock

lock and unlock memory

sys_munlock(unsigned long start, size_t len)
number229 (0xe5)
abicommon
entry pointsys_munlock
sinceLinux 4.15
man pagemunlock(2)
sourceelixir.bootlin.com

Registers

registervalue
a7229, the syscall number
a0unsigned long start
a1size_t len
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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