[PATCH 0/2] module: Add module name to modinfo

From: Kees Cook
Date: Wed Apr 12 2017 - 19:17:00 EST


The mod structure is accessed for the "name" field prior to validating
sanity in check_modstruct_version(). This becomes very obvious once
struct layout randomization is happening, so instead add the module
name to modinfo and use that until the mod struct has been sanity-checked.

-Kees