]> git.ipfire.org Git - thirdparty/kmod.git/blob - TODO
README: Move items from 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 * Stop using NOFAIL() and fatal()
9
10 * Protect index against OOM
11
12 * Implement actions in kmod tool like 'insert', 'remove', 'info', etc
13
14 * testsuite:
15 - when fake delete_module() succeeds, remove its entry from /sys/module
16
17 * Stop using system() inside the library and use fork + exec instead
18
19 * config: configs that do not need to be matched by fnmatch() could be using a
20 vector instead of a list. This way we could search in it by calling
21 bsearch().
22
23 * review API, maybe unify all of these getters:
24 - kmod_module_version_get_symbol()
25 - kmod_module_version_get_crc()
26 - kmod_module_symbol_get_symbol()
27 - kmod_module_symbol_get_crc()
28 - kmod_module_dependency_symbol_get_symbol()
29 - kmod_module_dependency_symbol_get_crc()
30 - kmod_module_versions_free_list()
31 - kmod_module_symbols_free_list()
32 - kmod_module_dependency_symbols_free_list()
33
34 * index: drop the "open(), seek(), read()" implementation and use another one
35 with mmap(). When lookup() is called and the file is not mmaped, mmap it.
36
37 * Finish removal of "rmmod -w" when it's gone from kernel.
38
39 * Deprecate not using KMOD_REMOVE_NOWAIT on libkmod.
40
41 Things to be added/removed in kernel (check what is really needed):
42 ===================================================================
43
44 * list of currently loaded modules
45 - readdir() in /sys/modules: dir without a 'initstate' file means the
46 module is builtin.
47
48 * kill /proc/modules ?
49 - Unlikely, given other tools might depend on it