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


Groups > linux.kernel > #1309638

Re: module: preserve Elf information for livepatch modules

From Rusty Russell <rusty@rustcorp.com.au>
Newsgroups linux.kernel
Subject Re: module: preserve Elf information for livepatch modules
Date 2016-01-14 21:30 +0100
Message-ID <qQWGT-3K7-25@gated-at.bofh.it> (permalink)
References <qOKTv-2Pp-3@gated-at.bofh.it> <qOKTw-2Pp-11@gated-at.bofh.it> <qPzt0-3IG-5@gated-at.bofh.it> <qQI1c-1LZ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Jessica Yu <jeyu@redhat.com> writes:
> +++ Rusty Russell [11/01/16 11:55 +1030]:
>>This comment is a bit misleading: it's actually pointing into the
>>temporary module copy, which will be discarded.  The init section is
>>slightly different...
>
> Ah, perhaps I'm misunderstanding something..
>
> Since copy_module_elf() is called after move_module(), my
> understanding is that all the section sh_addr's should be pointing
> to either module core memory or module init memory (instead of the
> initial temporary copy of the module in info->hdr).

You're absolutely correct; I'd forgotten that particular kallsyms twist.

Sorry for the noise!
Rusty.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC PATCH v3 2/6] module: preserve Elf information for livepatch modules Jessica Yu <jeyu@redhat.com> - 2016-01-08 20:30 +0100
  Re: [RFC PATCH v3 2/6] module: preserve Elf information for livepatch modules Rusty Russell <rusty@rustcorp.com.au> - 2016-01-11 02:30 +0100
    Re: module: preserve Elf information for livepatch modules Jessica Yu <jeyu@redhat.com> - 2016-01-14 05:50 +0100
      Re: module: preserve Elf information for livepatch modules Rusty Russell <rusty@rustcorp.com.au> - 2016-01-14 21:30 +0100

csiph-web