syscall.sh / x32 / mlock

mlock

lock and unlock memory

sys_mlock(unsigned long start, size_t len)
number1073741973 (0x40000095)
abicommon
entry pointsys_mlock
sinceLinux 3.4
man pagemlock(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741973, the syscall number
rdiunsigned long start
rsisize_t len
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/mlock