[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ei1k2kro.fsf@rustcorp.com.au>
Date: Thu, 21 Jul 2011 16:16:51 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Michal Marek <mmarek@...e.cz>
Cc: Alessio Igor Bogani <abogani@...nel.org>,
Jan Beulich <jbeulich@...ell.com>,
Kbuild <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Tim Bird <tim.bird@...sony.com>,
Anders Kaseorg <andersk@...lice.com>,
Arnaud Lacombe <lacombar@...il.com>
Subject: Re: [PATCH] modpost: Fix modpost's license checking V3
On Wed, 20 Jul 2011 17:25:18 +0200, Michal Marek <mmarek@...e.cz> wrote:
> On 14.7.2011 08:51, Alessio Igor Bogani wrote:
> > The commit f02e8a6 sorts symbols placing each of them in its own elf section.
> > The sorting and merging into the canonical sections are done by the linker.
> > Unfortunately modpost to generate Module.symvers file parses vmlinux
> > (already linked) and all modules object files (which aren't linked yet).
> > These aren't sanitized by the linker yet. That breaks modpost that can't
> > detect license properly for modules. This patch makes modpost aware of
> > the new exported symbols structure.
> >
> > Thanks to Arnaud Lacombe<lacombar@...il.com> and Anders Kaseorg
> > <andersk@...lice.com> for providing useful suggestions about code.
> >
> > This work was supported by a hardware donation from the CE Linux Forum.
> >
> > Reported-by: Jan Beulich<jbeulich@...ell.com>
> > Signed-off-by: Alessio Igor Bogani<abogani@...nel.org>
> > ---
> > scripts/mod/modpost.c | 29 ++++++++++++++++++++++++++++-
> > 1 files changed, 28 insertions(+), 1 deletions(-)
>
> Rusty, will you take this patch or should I apply it to kbuild-2.6.git?
I took it.
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists