finit_module on loongarch64

load a kernel module

sys_finit_module(int fd, const char *uargs, int flags)
number273 (0x111)
abicommon
entry pointsys_finit_module
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pagefinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
a7273, the syscall number
a0int fd
a1const char *uargs
a2int flags
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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