mlock on ia32
lock and unlock memory
sys_mlock(unsigned long start, size_t len)
| number | 150 (0x96) |
|---|---|
| abi | i386 |
| entry point | sys_mlock |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | mlock(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 150, the syscall number |
ebx | unsigned long start |
ecx | size_t len |
eax | the 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
- x64 149
- x86 150
- arm64 228
- arm 150
- riscv64 228
- x32 1073741973
- loongarch64 228
- ppc64 150
- ppc 150
- s390x 150
- mips64 5146
- mipsn32 6146
- mipso32 4154
- alpha 314
- arc 228
- csky 228
- hexagon 228
- m68k 150
- microblaze 150
- nios2 228
- openrisc 228
- parisc 150
- sh 150
- sparc 237
- sparc64 237
- xtensa 84
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/mlock