syscall.sh / sparc / mlock2

mlock2

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number356 (0x164)
abicommon
entry pointsys_mlock2
sinceLinux 5.0
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
g1356, the syscall number
o0unsigned long start
o1size_t len
o2int flags
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/mlock2