syscall.sh / sparc / munlock
munlock
lock and unlock memory
sys_munlock(unsigned long start, size_t len)
| number | 238 (0xee) |
|---|---|
| abi | common |
| entry point | sys_munlock |
| since | Linux 5.0 |
| man page | munlock(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 238, the syscall number |
o0 | unsigned long start |
o1 | size_t len |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 150
- x86 151
- arm64 229
- arm 151
- riscv64 229
- x32 1073741974
- loongarch64 229
- ppc64 151
- ppc 151
- s390x 151
- mips64 5147
- mipsn32 6147
- mipso32 4155
- alpha 315
- arc 229
- csky 229
- hexagon 229
- m68k 151
- microblaze 151
- nios2 229
- openrisc 229
- parisc 151
- sh 151
- sparc64 238
- xtensa 85
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/munlock