]> git.ipfire.org Git - thirdparty/kmod.git/blob - TODO
Update TODO
[thirdparty/kmod.git] / TODO
1 Features:
2 =========
3
4 * Add command for signing modules
5 - There is a script to sign modules in kernel tree, but we should be able to
6 sign modules by ourselves
7
8 * Remove duplicate symbols in libkmod and tools
9 - Some functions were added both in libkmod and tools like depmod since they
10 couldn't be easily exported. Now we could be sharing there more easily
11 through libkmod-internal, or by creating a shared/ dir in which to put
12 these functions
13
14 * Stop using NOFAIL() and fatal()
15
16 * Protect index against OOM
17
18 * Implement actions in kmod tool like 'insert', 'remove', 'info', etc
19
20 * testsuite:
21 - when fake delete_module() succeeds, remove its entry from /sys/module
22
23 * Stop using system() inside the library and use fork + exec instead
24
25 * config: configs that do not need to be matched by fnmatch() could be using a
26 vector instead of a list. This way we could search in it by calling
27 bsearch().
28
29 * review API, maybe unify all of these getters:
30 - kmod_module_version_get_symbol()
31 - kmod_module_version_get_crc()
32 - kmod_module_symbol_get_symbol()
33 - kmod_module_symbol_get_crc()
34 - kmod_module_dependency_symbol_get_symbol()
35 - kmod_module_dependency_symbol_get_crc()
36 - kmod_module_versions_free_list()
37 - kmod_module_symbols_free_list()
38 - kmod_module_dependency_symbols_free_list()
39
40 * index: drop the "open(), seek(), read()" implementation and use another one
41 with mmap(). When lookup() is called and the file is not mmaped, mmap it.
42
43
44 Things to be added/removed in kernel (check what is really needed):
45 ===================================================================
46
47 * list of currently loaded modules
48 - readdir() in /sys/modules: dir without a 'initstate' file means the
49 module is builtin.
50
51 * kill /proc/modules ?
52 - Unlikely, given other tools might depend on it