syscall.sh / mips64 / init_module
init_module
load a kernel module
sys_init_module(void *umod, unsigned long len, const char *uargs)
| number | 5168 (0x1430) |
|---|---|
| abi | n64 |
| entry point | sys_init_module |
| since | Linux 5.0 |
| man page | init_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5168, the syscall number |
a0 | void *umod |
a1 | unsigned long len |
a2 | const char *uargs |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 175
- x86 128
- arm64 105
- arm 128
- riscv64 105
- x32 1073741999
- loongarch64 105
- ppc64 128
- ppc 128
- s390x 128
- mipsn32 6168
- mipso32 4128
- alpha 307
- arc 105
- csky 105
- hexagon 105
- m68k 128
- microblaze 128
- nios2 105
- openrisc 105
- parisc 128
- sh 128
- sparc 190
- sparc64 190
- xtensa 210
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/init_module