2011-12-02 03:23:47 +07:00
|
|
|
Features:
|
2011-12-16 11:02:58 +07:00
|
|
|
=========
|
2011-12-02 03:23:47 +07:00
|
|
|
|
2013-04-30 22:34:23 +07:00
|
|
|
* 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
|
|
|
|
|
|
|
|
* Stop using NOFAIL() and fatal()
|
|
|
|
|
2013-04-24 07:21:00 +07:00
|
|
|
* Protect index against OOM
|
|
|
|
|
2013-04-10 06:20:38 +07:00
|
|
|
* Implement actions in kmod tool like 'insert', 'remove', 'info', etc
|
|
|
|
|
2012-02-22 22:07:13 +07:00
|
|
|
* testsuite:
|
|
|
|
- when fake delete_module() succeeds, remove its entry from /sys/module
|
2015-01-14 20:10:53 +07:00
|
|
|
- improve coverage (use --enable-coverage to check the current state)
|
2012-06-11 22:00:19 +07:00
|
|
|
|
2013-04-10 06:20:38 +07:00
|
|
|
* Stop using system() inside the library and use fork + exec instead
|
|
|
|
|
|
|
|
* 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().
|
|
|
|
|
2015-01-14 20:10:53 +07:00
|
|
|
* config: implement the config handling in shared/ and use it in both depmod
|
|
|
|
and libkmod
|
|
|
|
|
2012-06-11 22:00:19 +07:00
|
|
|
* review API, maybe unify all of these getters:
|
2011-12-20 20:54:53 +07:00
|
|
|
- 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()
|
2012-11-05 11:04:44 +07:00
|
|
|
- kmod_module_dependency_symbols_free_list()
|
2011-12-20 20:54:53 +07:00
|
|
|
|
2018-03-07 17:51:21 +07:00
|
|
|
* libkmod API breaking changes:
|
|
|
|
- dedicated error value for all kmod_*_get_crc() functions. Currently there
|
|
|
|
is no way for callers to distinguish between a valid CRC=0 and the error
|
|
|
|
code 0.
|
|
|
|
|
2012-02-22 22:07:13 +07:00
|
|
|
* 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.
|
2015-01-14 20:10:53 +07:00
|
|
|
Another possibility is to drop the mmap implementation relying on VFS to have
|
|
|
|
the pages cached. This would simplify the interface exported by libkmod.
|
|
|
|
Measure performance before deciding.
|
2011-12-16 11:02:58 +07:00
|
|
|
|
2015-02-19 10:00:05 +07:00
|
|
|
* depmod:
|
|
|
|
- join functions for text/binary outputs
|
|
|
|
- use new O_TMPFILE for tmp file creation
|
2012-08-31 00:10:47 +07:00
|
|
|
|
2011-12-28 02:32:55 +07:00
|
|
|
Things to be added/removed in kernel (check what is really needed):
|
2011-12-16 11:02:58 +07:00
|
|
|
===================================================================
|
|
|
|
|
|
|
|
* list of currently loaded modules
|
2012-02-22 22:07:13 +07:00
|
|
|
- readdir() in /sys/modules: dir without a 'initstate' file means the
|
|
|
|
module is builtin.
|
2011-12-16 11:02:58 +07:00
|
|
|
|
|
|
|
* kill /proc/modules ?
|
2012-01-17 00:56:17 +07:00
|
|
|
- Unlikely, given other tools might depend on it
|