]> git.ipfire.org Git - thirdparty/kmod.git/blobdiff - TODO
Free realnames if kmod_lookup_alias_from_alias_bin() fails
[thirdparty/kmod.git] / TODO
diff --git a/TODO b/TODO
index ae01a29d11aed7fa3959797c43cb6ac9d4ddc030..50e7483756dfb8314798b4ed3881daca8b612371 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,42 +1,49 @@
 Features:
 =========
 
-* config: configs that do not need to be matched by fnmatch() could be using a
-  vector instead of a list. This way we could search in it by calling
-  bsearch().
-
-* index: drop the "open(), seek(), read()" implementation and use another one
-  with mmap(). When lookup() is called and the file is not mmaped, mmap it.
+* Add command for signing modules
+   - There is a script to sign modules in kernel tree, but we should be able to
+   sign modules by ourselves
 
-* create test-mock library to be LD_PRELOAD'ed before running the binaries
-  so we're able to create unit tests
+* Stop using NOFAIL() and fatal()
 
-* provide ELF manipulation to implement modinfo
+* Protect index against OOM
 
-* Add functions to dump configuration
+* Implement actions in kmod tool like 'insert', 'remove', 'info', etc
 
-* Add functions list all modules known by modules.dep
+* testsuite:
+   - when fake delete_module() succeeds, remove its entry from /sys/module
 
-* provide 1:1 compatibility with module-init-tools's modprobe
-   - show modversions (needs elf manipulation)
-   - dump configuration
+* Stop using system() inside the library and use fork + exec instead
 
-Known Bugs:
-===========
+* config: configs that do not need to be matched by fnmatch() could be using a
+  vector instead of a list. This way we could search in it by calling
+  bsearch().
 
+* review API, maybe unify all of these getters:
+   - kmod_module_version_get_symbol()
+   - kmod_module_version_get_crc()
+   - kmod_module_symbol_get_symbol()
+   - kmod_module_symbol_get_crc()
+   - kmod_module_dependency_symbol_get_symbol()
+   - kmod_module_dependency_symbol_get_crc()
+   - kmod_module_versions_free_list()
+   - kmod_module_symbols_free_list()
+   - kmod_module_dependency_symbols_free_list()
 
-Notes for future development:
-=============================
+* index: drop the "open(), seek(), read()" implementation and use another one
+  with mmap(). When lookup() is called and the file is not mmaped, mmap it.
 
-* Kill support for /etc/modprobe.conf
+* Finish removal of "rmmod -w" when it's gone from kernel.
 
-* Kill support for map files
+* Deprecate not using KMOD_REMOVE_NOWAIT on libkmod.
 
-Things to be added removed in kernel (check what is really needed):
+Things to be added/removed in kernel (check what is really needed):
 ===================================================================
 
 * list of currently loaded modules
-
-* module's size should be available under /sys
+       - readdir() in /sys/modules: dir without a 'initstate' file means the
+         module is builtin.
 
 * kill /proc/modules ?
+       - Unlikely, given other tools might depend on it