syscall.sh / openrisc / mlock2

mlock2

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number284 (0x11c)
abicommon
entry pointsys_mlock2
sinceLinux 4.4
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
r11284, the syscall number
r3unsigned long start
r4size_t len
r5int flags
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/mlock2