syscall.sh / microblaze / mlock2

mlock2

lock and unlock memory

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

Registers

registervalue
r12391, the syscall number
r5unsigned long start
r6size_t len
r7int flags
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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