syscall.sh / sh / finit_module

finit_module

load a kernel module

sys_finit_module(int fd, const char *uargs, int flags)
number368 (0x170)
abicommon
entry pointsys_finit_module
sinceLinux 5.0
man pagefinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
r3368, the syscall number
r4int fd
r5const char *uargs
r6int 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/finit_module