Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH 1/2] test: add minimal module for verification testing | Date | Wed, 04 Dec 2013 10:22:48 +1030 |
| |
Kees Cook <keescook@chromium.org> writes: > When doing module loading verification tests (for example, with module > singing, or LSM hooks), it is very handy to have a module that can be > built on all systems under test, isn't auto-loaded at boot, and has > no device or similar dependencies. This creates the "test_module.ko" > module for that purpose, which only reports its load and unload to printk.
Bikeshed time!
> +#define pr_fmt(fmt) "test_module: " fmt
Perhaps: #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Cheers, Rusty.
| |