syscall.sh / m68k / mlock2
mlock2
lock and unlock memory
sys_mlock2(unsigned long start, size_t len, int flags)
| number | 375 (0x177) |
|---|---|
| abi | common |
| entry point | sys_mlock2 |
| since | Linux 5.0 |
| man page | mlock2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 375, the syscall number |
d1 | unsigned long start |
d2 | size_t len |
d3 | int flags |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 325
- x86 376
- arm64 284
- arm 390
- riscv64 284
- x32 1073742149
- loongarch64 284
- ppc64 378
- ppc 378
- s390x 374
- mips64 5319
- mipsn32 6323
- mipso32 4359
- alpha 518
- arc 284
- csky 284
- hexagon 284
- microblaze 391
- nios2 284
- openrisc 284
- parisc 345
- sh 379
- sparc 356
- sparc64 356
- xtensa 344
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/mlock2