[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1492814127-66318-1-git-send-email-keescook@chromium.org>
Date: Fri, 21 Apr 2017 15:35:25 -0700
From: Kees Cook <keescook@...omium.org>
To: Jessica Yu <jeyu@...hat.com>
Cc: Kees Cook <keescook@...omium.org>,
Rusty Russell <rusty@...tcorp.com.au>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Heinrich Schuchardt <xypron.glpk@....de>,
Nicholas Piggin <npiggin@...il.com>,
Chris Metcalf <cmetcalf@...lanox.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] module: Add module name to modinfo
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
v2:
- adjusted for more odd name load failure cases; jeyu
Powered by blists - more mailing lists