syscall.sh / s390x / mlock2

mlock2

lock and unlock memory

sys_mlock2(unsigned long start, size_t len, int flags)
number374 (0x176)
abicommon
entry pointsys_mlock2
sinceLinux 4.16
man pagemlock2(2)
sourceelixir.bootlin.com

Registers

registervalue
r1374, the syscall number
r2unsigned long start
r3size_t len
r4int flags
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/mlock2