syscall.sh / m68k / mlock2

mlock2

lock and unlock memory

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

Registers

registervalue
d0375, the syscall number
d1unsigned long start
d2size_t len
d3int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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