Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 1 | Features: |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame] | 2 | ========= |
Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 3 | |
Lucas De Marchi | e975fd3 | 2013-04-30 12:34:23 -0300 | [diff] [blame] | 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 | |
Lucas De Marchi | 681bf89 | 2013-04-23 21:21:00 -0300 | [diff] [blame] | 10 | * Protect index against OOM |
| 11 | |
Lucas De Marchi | 46939ec | 2013-04-09 20:20:38 -0300 | [diff] [blame] | 12 | * Implement actions in kmod tool like 'insert', 'remove', 'info', etc |
| 13 | |
Lucas De Marchi | 80e54cb | 2012-02-22 13:07:13 -0200 | [diff] [blame] | 14 | * testsuite: |
Lucas De Marchi | 80e54cb | 2012-02-22 13:07:13 -0200 | [diff] [blame] | 15 | - when fake delete_module() succeeds, remove its entry from /sys/module |
Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 16 | |
Lucas De Marchi | 46939ec | 2013-04-09 20:20:38 -0300 | [diff] [blame] | 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 | |
Lucas De Marchi | c8c956b | 2012-06-11 12:00:19 -0300 | [diff] [blame] | 23 | * review API, maybe unify all of these getters: |
Gustavo Sverzut Barbieri | 674f859 | 2011-12-20 11:54:53 -0200 | [diff] [blame] | 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() |
Lucas De Marchi | 8836ff2 | 2012-11-05 02:04:44 -0200 | [diff] [blame] | 32 | - kmod_module_dependency_symbols_free_list() |
Gustavo Sverzut Barbieri | 674f859 | 2011-12-20 11:54:53 -0200 | [diff] [blame] | 33 | |
Lucas De Marchi | 80e54cb | 2012-02-22 13:07:13 -0200 | [diff] [blame] | 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. |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame] | 36 | |
Lucas De Marchi | cc83364 | 2012-10-17 18:32:56 -0300 | [diff] [blame] | 37 | * Finish removal of "rmmod -w" when it's gone from kernel. |
| 38 | |
| 39 | * Deprecate not using KMOD_REMOVE_NOWAIT on libkmod. |
Lucas De Marchi | 8447b86 | 2012-08-30 14:10:47 -0300 | [diff] [blame] | 40 | |
Lucas De Marchi | 3af535c | 2011-12-27 17:32:55 -0200 | [diff] [blame] | 41 | Things to be added/removed in kernel (check what is really needed): |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame] | 42 | =================================================================== |
| 43 | |
| 44 | * list of currently loaded modules |
Lucas De Marchi | 80e54cb | 2012-02-22 13:07:13 -0200 | [diff] [blame] | 45 | - readdir() in /sys/modules: dir without a 'initstate' file means the |
| 46 | module is builtin. |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame] | 47 | |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame] | 48 | * kill /proc/modules ? |
Lucas De Marchi | 758428a | 2012-01-16 15:56:17 -0200 | [diff] [blame] | 49 | - Unlikely, given other tools might depend on it |