Hi,
this makes modinfo aware of CONFIG_MODULE_SIG signed modules.
Changes in v2:
* Updated kmod_module_get_info() documentation
* In error case, free the module_info list in kmod_module_get_info()
* Make kmod_module_signature_info() return bool
* Added a testcase
Note: I am not sending the testcase patch for size reasons, please pull
it from git.kernel.org.
Note2: I tried to send this yesterday, but it seems it got rejected by vger.
Sorry if you now got the emails twice.
The following changes since commit f64458cab522670135950adc4b04f18df20ae947:
libkmod-module: Add helper for building the module info list (2013-01-16
09:53:46 -0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kmod.git
modinfo-signature2
for you to fetch changes up to 6f3327737f5009ada9334950446c358f9dd55bc2:
testsuite: Add modinfo test for module signatures (2013-01-16 21:11:14 +0100)
Michal Marek (3):
libkmod-module: Do not free the list in kmod_module_info_append
libkmod: Return module signature information in
kmod_module_get_info()
testsuite: Add modinfo test for module signatures
Makefile.am | 3 +-
libkmod/libkmod-module.c | 60 +++++++--
libkmod/libkmod-private.h | 9 ++
libkmod/libkmod-signature.c | 141 ++++++++++++++++++++
testsuite/rootfs-pristine/test-modinfo/correct.txt | 24 ++++
.../test-modinfo/ext4-x86_64-sha1.ko | Bin 0 -> 729451 bytes
.../test-modinfo/ext4-x86_64-sha256.ko | Bin 0 -> 729451 bytes
testsuite/test-modinfo.c | 3 +-
8 files changed, 230 insertions(+), 10 deletions(-)
create mode 100644 libkmod/libkmod-signature.c
create mode 100644 testsuite/rootfs-pristine/test-modinfo/ext4-x86_64-sha1.ko
create mode 100644 testsuite/rootfs-pristine/test-modinfo/ext4-x86_64-sha256.ko
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html