syscall.sh / x86 / mlockall
mlockall
lock and unlock memory
sys_mlockall(int flags)
| number | 152 (0x98) |
|---|---|
| abi | i386 |
| entry point | sys_mlockall |
| since | Linux 3.3 |
| man page | mlockall(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 152, the syscall number |
ebx | int flags |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 151
- arm64 230
- arm 152
- riscv64 230
- x32 1073741975
- loongarch64 230
- ppc64 152
- ppc 152
- s390x 152
- mips64 5148
- mipsn32 6148
- mipso32 4156
- alpha 316
- arc 230
- csky 230
- hexagon 230
- m68k 152
- microblaze 152
- nios2 230
- openrisc 230
- parisc 152
- sh 152
- sparc 239
- sparc64 239
- xtensa 86
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/mlockall