syscall.sh / parisc / mlock2

mlock2

lock and unlock memory

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

Registers

registervalue
r20345, the syscall number
r26unsigned long start
r25size_t len
r24int flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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