]> git.ipfire.org Git - thirdparty/kmod.git/blob - TODO
coding style: fix lines over 80 chars
[thirdparty/kmod.git] / TODO
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
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
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
17 * create test-mock library to be LD_PRELOAD'ed before running the binaries
18 so we're able to create unit tests
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
31
32 * Add coding-style.txt