syscall.sh / x86 / finit_module

finit_module

load a kernel module

sys_finit_module(int fd, const char *uargs, int flags)
number350 (0x15e)
abii386
entry pointsys_finit_module
sinceLinux 3.8
man pagefinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
eax350, the syscall number
ebxint fd
ecxconst char *uargs
edxint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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