Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 1 | |
| 2 | Features: |
| 3 | |
| 4 | * config: configs that do not need to be matched by fnmatch() could be using a |
| 5 | vector instead of a list. This way we could search in it by calling |
| 6 | bsearch(). |
| 7 | |
Lucas De Marchi | c3325cf | 2011-12-02 14:49:57 -0200 | [diff] [blame] | 8 | * config: load on demand |
| 9 | |
| 10 | * index: drop the "open(), seek(), read()" implementation and use another one |
| 11 | with mmap(). When lookup() is called and the file is not mmaped, mmap it. |
| 12 | |
Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 13 | * insmod and rmmod with dependency handling. Maybe this should be done by the |
| 14 | binary, and it's sufficient to return only the lists from lookups. |
| 15 | ^-- investigate the best API |
| 16 | |
Gustavo Sverzut Barbieri | c3d0a5f | 2011-12-11 19:36:18 -0200 | [diff] [blame^] | 17 | * create test-mock library to be LD_PRELOAD'ed before running the binaries |
Gustavo Sverzut Barbieri | 7fe602b | 2011-12-10 13:32:27 -0200 | [diff] [blame] | 18 | so we're able to create unit tests |
Gustavo Sverzut Barbieri | c3d0a5f | 2011-12-11 19:36:18 -0200 | [diff] [blame^] | 19 | |
| 20 | * provide ELF manipulation to implement modinfo |
| 21 | |
| 22 | * provide 1:1 compatibility with module-init-tools's modprobe, missing: |
| 23 | - parse options from kernel command line (modname.opt=val) |
| 24 | - provide softdeps |
| 25 | - show modversions (needs elf manipulation) |
| 26 | - show config (list all known options, install, remove, softdep...) |
| 27 | - show list (lists all modules known by modules.dep) |
| 28 | - return install/remove commands for non-modules: |
| 29 | install nonexistentmodule somecommand |
| 30 | modprobe nonexistentmodule -> runs somecommand |