syscall.sh / x64 / finit_module

finit_module

load a kernel module

sys_finit_module(int fd, const char *uargs, int flags)
number313 (0x139)
abicommon
entry pointsys_finit_module
sinceLinux 3.8
man pagefinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
rax313, the syscall number
rdiint fd
rsiconst char *uargs
rdxint flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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