syscall.sh / arc / init_module
init_module
load a kernel module
sys_init_module(void *umod, unsigned long len, const char *uargs)
| number | 105 (0x69) |
|---|---|
| abi | common |
| entry point | sys_init_module |
| since | Linux 3.9 |
| man page | init_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 105, the syscall number |
r0 | void *umod |
r1 | unsigned long len |
r2 | const char *uargs |
r0 | the return value |
Then run trap0 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
- mips64 5168
- mipsn32 6168
- mipso32 4128
- alpha 307
- 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/arc/init_module