summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
Diffstat (limited to 'TODO')
-rw-r--r--TODO46
1 files changed, 24 insertions, 22 deletions
diff --git a/TODO b/TODO
index f9e3b55..e3f81d1 100644
--- a/TODO
+++ b/TODO
@@ -1,21 +1,26 @@
Features:
=========
+* 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()
+
+* Protect index against OOM
+
+* Implement actions in kmod tool like 'insert', 'remove', 'info', etc
+
* testsuite:
- - when fake init_module() succeeds, create an entry in /sys/module
- when fake delete_module() succeeds, remove its entry from /sys/module
- - add test for dependency loop _with install commands_ relying on module
- already been loaded in order to succeed. E.g.: alsa install rules on
- debian:
-
- install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
- install snd_rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
- install snd_emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
- install snd_pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { modprobe --quiet snd-pcm-oss ; : ; }
- install snd_mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { modprobe --quiet snd-mixer-oss ; : ; }
- install snd_seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && { modprobe --quiet snd-seq-midi ; modprobe --quiet snd-seq-oss ; : ; }
-
-* review API, maybe unify all of these setters:
+
+* 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().
+
+* review API, maybe unify all of these getters:
- kmod_module_version_get_symbol()
- kmod_module_version_get_crc()
- kmod_module_symbol_get_symbol()
@@ -26,15 +31,13 @@ Features:
- kmod_module_symbols_free_list()
- kmod_module_dependency_symbols_free_list()
-* 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().
-
* 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.
+* Finish removal of "rmmod -w" when it's gone from kernel.
+
+* Deprecate not using KMOD_REMOVE_NOWAIT on libkmod.
+
Things to be added/removed in kernel (check what is really needed):
===================================================================
@@ -42,12 +45,11 @@ Things to be added/removed in kernel (check what is really needed):
- readdir() in /sys/modules: dir without a 'initstate' file means the
module is builtin.
-* module's size should be available under /sys
- - DONE in 3.3: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=cca3e707301862ca9b9327e6a732463982f8cd1b
-
* kill /proc/modules ?
- Unlikely, given other tools might depend on it
+
+
Things that are different from module-init-tools on purpose (!TODO)
===================================================================