syscall.sh / arm / mlock2

mlock2

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number390 (0x186)
abicommon
entry pointsys_mlock2
sinceLinux 4.10
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
r7390, the syscall number
r0unsigned long start
r1size_t len
r2int flags
r0the 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/arm/mlock2