syscall.sh / arc / init_module

init_module

load a kernel module

sys_init_module(void *umod, unsigned long len, const char *uargs)
number105 (0x69)
abicommon
entry pointsys_init_module
sinceLinux 3.9
man pageinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
r8105, the syscall number
r0void *umod
r1unsigned long len
r2const char *uargs
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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