syscall.sh / x32 / mlock2

mlock2

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number1073742149 (0x40000145)
abicommon
entry pointsys_mlock2
sinceLinux 4.4
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742149, the syscall number
rdiunsigned long start
rsisize_t len
rdxint flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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