syscall.sh / parisc / mlock
mlock
lock and unlock memory
sys_mlock(unsigned long start, size_t len)
| number | 150 (0x96) |
|---|---|
| abi | common |
| entry point | sys_mlock |
| since | Linux 5.0 |
| man page | mlock(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 150, the syscall number |
r26 | unsigned long start |
r25 | size_t len |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
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
- sh 150
- sparc 237
- sparc64 237
- xtensa 84
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/mlock