init_module on score
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.7 or earlier (3.7 is the first release scanned for score) |
| man page | init_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 105, the syscall number |
r4 | void *umod |
r5 | unsigned long len |
r6 | const char *uargs |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 175
- x86 128
- arm64 105
- arm 128
- riscv64 105
- ia32 128
- x32 1073741999
- loongarch64 105
- ppc64 128
- ppc 128
- s390x 128
- mips64 5168
- mipsn32 6168
- mipso32 4128
- alpha 307
- arc 105
- blackfin 128, removed in 4.17
- cris 128, removed in 4.17
- csky 105
- frv 128, removed in 4.17
- hexagon 105
- ia64 1133, removed in 6.7
- m32r 128, removed in 4.17
- m68k 128
- metag 105, removed in 4.17
- microblaze 128
- mn10300 128, removed in 4.17
- nds32 105, removed in 5.18
- nios2 105
- openrisc 105
- parisc 128
- sh 128
- sparc 190
- sparc64 190
- tilegx 105, removed in 4.17
- tilepro 105, removed in 4.17
- xtensa 210
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/init_module?kernel=all