kernel_optimize_test/scripts/mod
Kees Cook 3e2e857f9c module: Add module name to modinfo
Accessing the mod structure (e.g. for mod->name) prior to having completed
check_modstruct_version() can result in writing garbage to the error logs
if the layout of the mod structure loaded from disk doesn't match the
running kernel's mod structure layout. This kind of mismatch will become
much more likely if a kernel is built with different randomization seed
for the struct layout randomization plugin.

Instead, add and use a new modinfo string for logging the module name.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jessica Yu <jeyu@redhat.com>
2017-05-23 14:08:31 -07:00
..
.gitignore
devicetable-offsets.c
empty.c
file2alias.c
Makefile kbuild: Consolidate header generation from ASM offset information 2017-04-13 05:43:37 +09:00
mk_elfconfig.c
modpost.c module: Add module name to modinfo 2017-05-23 14:08:31 -07:00
modpost.h
sumversion.c