summaryrefslogtreecommitdiff
path: root/kmodloader.c
Commit message (Collapse)AuthorAgeFilesLines
...
* kmodloader: use the name of the module struct when unloading modulesJo-Philipp Wich2013-09-281-3/+3
| | | | | | | | | | | | The module .ko file might be called differently than the name used by the kernel internally, e.g. "nls_iso8859-1.ko" is called "nls_iso8859_1" in lsmmod. The module removal syscall expects the latter as well. After this change, "rmmod" supports unloading the module even if the user gives the file name spelling instead of the kernel internal one, so that e.g. "rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.
* kmodloader: properly handle modules with both underscores and dashes in ↵Jo-Philipp Wich2013-09-281-31/+17
| | | | their name
* fix hyphen substitution in pathJohn Crispin2013-09-191-2/+2
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* cosmetic cleanup of - vs _ patchJohn Crispin2013-09-171-2/+4
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* fix _ vs - bugJohn Crispin2013-09-171-60/+52
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* kmodloader: don't free memory allocated with alloca()Jo-Philipp Wich2013-09-051-1/+0
|
* add proper modprobe supportJohn Crispin2013-09-031-67/+167
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* kmodloader: support loading modules from a different prefixJo-Philipp Wich2013-07-261-2/+6
|
* kmodloader: fix path printf handlingFelix Fietkau2013-07-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* kmodloader: eliminate some hardcoded buffer sizesFelix Fietkau2013-07-121-14/+31
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* kmodloader: reduce indentation depthFelix Fietkau2013-07-121-24/+25
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* kmodloader: use avl tree and calloc_aFelix Fietkau2013-07-121-50/+45
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* insmod should not insert of already insertedJohn Crispin2013-06-271-0/+6
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* add support for module handlingJohn Crispin2013-06-041-21/+575
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* initial import of uboox utilitiesJohn Crispin2013-04-251-0/+110
Signed-off-by: John Crispin <blogic@openwrt.org>