mlock2 on ia32

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number376 (0x178)
abii386
entry pointsys_mlock2
sinceLinux 4.4
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax376, the syscall number
ebxunsigned long start
ecxsize_t len
edxint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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