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