syscall.sh / x86 / finit_module
finit_module
load a kernel module
sys_finit_module(int fd, const char *uargs, int flags)
| number | 350 (0x15e) |
|---|---|
| abi | i386 |
| entry point | sys_finit_module |
| since | Linux 3.8 |
| man page | finit_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 350, the syscall number |
ebx | int fd |
ecx | const char *uargs |
edx | int flags |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 313
- arm64 273
- arm 379
- riscv64 273
- x32 1073742137
- loongarch64 273
- ppc64 353
- ppc 353
- s390x 344
- mips64 5307
- mipsn32 6312
- mipso32 4348
- alpha 507
- arc 273
- csky 273
- hexagon 273
- m68k 348
- microblaze 380
- nios2 273
- openrisc 273
- parisc 333
- sh 368
- sparc 342
- sparc64 342
- xtensa 332
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/finit_module