syscall.sh / sparc / mlock

mlock

lock and unlock memory

sys_mlock(unsigned long start, size_t len)
number237 (0xed)
abicommon
entry pointsys_mlock
sinceLinux 5.0
man pagemlock(2)
sourceelixir.bootlin.com

Registers

registervalue
g1237, the syscall number
o0unsigned long start
o1size_t len
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/mlock