syscall.sh / nios2 / finit_module
finit_module
load a kernel module
sys_finit_module(int fd, const char *uargs, int flags)
| number | 273 (0x111) |
|---|---|
| abi | common |
| entry point | sys_finit_module |
| since | Linux 3.19 |
| man page | finit_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r2 | 273, the syscall number |
r4 | int fd |
r5 | const char *uargs |
r6 | int flags |
r2 | the return value |
Then run trap to enter the kernel.
Same syscall on other architectures
- x64 313
- x86 350
- 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
- openrisc 273
- parisc 333
- sh 368
- sparc 342
- sparc64 342
- xtensa 332
Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/finit_module