syscall.sh / x86 / mlock

mlock

lock and unlock memory

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

Registers

registervalue
eax150, the syscall number
ebxunsigned long start
ecxsize_t len
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/mlock