blob: d574f8c7b38604305bce8791940e14d42130dd77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
Features:
=========
* config: configs that do not need to be matched by fnmatch() could be using a
vector instead of a list. This way we could search in it by calling
bsearch().
* index: drop the "open(), seek(), read()" implementation and use another one
with mmap(). When lookup() is called and the file is not mmaped, mmap it.
* create test-mock library to be LD_PRELOAD'ed before running the binaries
so we're able to create unit tests
* provide ELF manipulation to implement modinfo
* Add lookup for install commands in kmod_module_new_from_lookup()
* Add lookup for remove commands
* Add functions to dump configuration
* Add functions list all modules known by modules.dep
* Implement soft dependencies
* provide 1:1 compatibility with module-init-tools's modprobe
- show modversions (needs elf manipulation)
- dump configuration
- use softdep
- install and remove commands may exist when there's no module with that
name. Properly handle this case
* gzip support for modprobe
Known Bugs:
===========
* modprobe -R should not try to load module
Notes for future development:
=============================
* Kill support for /etc/modprobe.conf
* Kill support for map files
Things to be added removed in kernel (check what is really needed):
===================================================================
* list of currently loaded modules
* module's size should be available under /sys
* kill /proc/modules ?
|