]> git.ipfire.org Git - thirdparty/kmod.git/blame - TODO
Update TODO
[thirdparty/kmod.git] / TODO
CommitLineData
bf89f76e 1Features:
5e690c5c 2=========
bf89f76e 3
45f38e8c
LDM
4* Improve module-playground to contain the actual code from modules in the
5 testsuite
6
e975fd31
LDM
7* Add command for signing modules
8 - There is a script to sign modules in kernel tree, but we should be able to
9 sign modules by ourselves
10
11* Stop using NOFAIL() and fatal()
12
681bf89a
LDM
13* Protect index against OOM
14
46939ec7
LDM
15* Implement actions in kmod tool like 'insert', 'remove', 'info', etc
16
80e54cb6 17* testsuite:
80e54cb6 18 - when fake delete_module() succeeds, remove its entry from /sys/module
895aa134 19 - improve coverage (use --enable-coverage to check the current state)
c8c956b1 20
46939ec7
LDM
21* Stop using system() inside the library and use fork + exec instead
22
23* config: configs that do not need to be matched by fnmatch() could be using a
24 vector instead of a list. This way we could search in it by calling
25 bsearch().
26
895aa134
LDM
27* config: implement the config handling in shared/ and use it in both depmod
28and libkmod
29
c8c956b1 30* review API, maybe unify all of these getters:
674f8590
GSB
31 - kmod_module_version_get_symbol()
32 - kmod_module_version_get_crc()
33 - kmod_module_symbol_get_symbol()
34 - kmod_module_symbol_get_crc()
35 - kmod_module_dependency_symbol_get_symbol()
36 - kmod_module_dependency_symbol_get_crc()
37 - kmod_module_versions_free_list()
38 - kmod_module_symbols_free_list()
8836ff24 39 - kmod_module_dependency_symbols_free_list()
674f8590 40
80e54cb6
LDM
41* index: drop the "open(), seek(), read()" implementation and use another one
42 with mmap(). When lookup() is called and the file is not mmaped, mmap it.
895aa134
LDM
43 Another possibility is to drop the mmap implementation relying on VFS to have
44 the pages cached. This would simplify the interface exported by libkmod.
45 Measure performance before deciding.
5e690c5c 46
709a465d
LDM
47* depmod:
48 - join functions for text/binary outputs
49 - use new O_TMPFILE for tmp file creation
8447b865 50
3af535c9 51Things to be added/removed in kernel (check what is really needed):
5e690c5c
LDM
52===================================================================
53
54* list of currently loaded modules
80e54cb6
LDM
55 - readdir() in /sys/modules: dir without a 'initstate' file means the
56 module is builtin.
5e690c5c 57
5e690c5c 58* kill /proc/modules ?
758428a7 59 - Unlikely, given other tools might depend on it