syscall.sh / sh / mlock

mlock

lock and unlock memory

sys_mlock(unsigned long start, size_t len)
number150 (0x96)
abicommon
entry pointsys_mlock
sinceLinux 5.0
man pagemlock(2)
sourceelixir.bootlin.com

Registers

registervalue
r3150, the syscall number
r4unsigned long start
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/mlock