Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649073

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

From Jessica Yu <jeyu@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/2] module: Add module name to modinfo
Date 2017-05-24 05:30 +0200
Message-ID <tKv9L-4WV-5@gated-at.bofh.it> (permalink)
References <tyPnz-355-5@gated-at.bofh.it> <tAl21-4Bz-1@gated-at.bofh.it> <tAn3P-5Rf-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


+++ Kees Cook [25/04/17 21:43 -0700]:
>On Tue, Apr 25, 2017 at 7:32 PM, Jessica Yu <jeyu@redhat.com> wrote:
>> +++ Kees Cook [21/04/17 15:35 -0700]:
>>
>>> 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
>>
>>
>> Hi Kees!
>>
>> These patches look fine to me, would you mind if I held on to them
>> until after the upcoming merge window? (Since we're at -rc8, and I'd
>> still like for them to sit in -next for a while)
>
>Sure thing; I'm in no rush. :)

These have been applied to modules-next, thanks!

Jessica

>Thanks!
>
>-Kees

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 0/2] module: Add module name to modinfo Jessica Yu <jeyu@redhat.com> - 2017-05-24 05:30 +0200

csiph-web