syscall.sh / sh / mlockall

mlockall

lock and unlock memory

sys_mlockall(int flags)
number152 (0x98)
abicommon
entry pointsys_mlockall
sinceLinux 5.0
man pagemlockall(2)
sourceelixir.bootlin.com

Registers

registervalue
r3152, the syscall number
r4int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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