syscall.sh / csky / mlock2

mlock2

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number284 (0x11c)
abicommon
entry pointsys_mlock2
sinceLinux 4.20
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
r7284, the syscall number
a0unsigned long start
a1size_t len
a2int flags
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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