syscall.sh / nios2 / delete_module
delete_module
unload a kernel module
sys_delete_module(const char *name_user, unsigned int flags)
| number | 106 (0x6a) |
|---|---|
| abi | common |
| entry point | sys_delete_module |
| since | Linux 3.19 |
| man page | delete_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r2 | 106, the syscall number |
r4 | const char *name_user |
r5 | unsigned int flags |
r2 | the return value |
Then run trap to enter the kernel.
Same syscall on other architectures
- x64 176
- x86 129
- arm64 106
- arm 129
- riscv64 106
- x32 1073742000
- loongarch64 106
- ppc64 129
- ppc 129
- s390x 129
- mips64 5169
- mipsn32 6169
- mipso32 4129
- alpha 308
- arc 106
- csky 106
- hexagon 106
- m68k 129
- microblaze 129
- openrisc 106
- parisc 129
- sh 129
- sparc 222
- sparc64 222
- xtensa 211
Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/delete_module