syscall.sh / s390x / mlock

mlock

lock and unlock memory

sys_mlock(unsigned long start, size_t len)
number150 (0x96)
abicommon
entry pointsys_mlock
sinceLinux 4.16
man pagemlock(2)
sourceelixir.bootlin.com

Registers

registervalue
r1150, the syscall number
r2unsigned long start
r3size_t len
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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