blob: 47fca61eff6ce77c3a7fa796654c7e3948c0ff45 [file] [log] [blame]
Lucas De Marchibf89f762011-12-01 18:23:47 -02001
2Features:
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 Marchic3325cf2011-12-02 14:49:57 -02008* 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 Marchibf89f762011-12-01 18:23:47 -020013* 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 Barbieric3d0a5f2011-12-11 19:36:18 -020017* create test-mock library to be LD_PRELOAD'ed before running the binaries
Gustavo Sverzut Barbieri7fe602b2011-12-10 13:32:27 -020018 so we're able to create unit tests
Gustavo Sverzut Barbieric3d0a5f2011-12-11 19:36:18 -020019
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