Re: 2.6.17-mm2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 25 Jun 2006 20:23:52 +0200
Sam Ravnborg <[email protected]> wrote:

> On Sun, Jun 25, 2006 at 08:16:10AM -0700, Andrew Morton wrote:
> > On Sun, 25 Jun 2006 03:22:43 -0700
> > 
> > Actually we should be able to address this pretty simply by disallowing
> > exports of symbols which are in the __init section.  There's no sense in
> > exporting something which ain't there.
> > 
> > IOW, any reference from __ksymtab, __ksymtab_gpl or __ksymtab_gpl_future
> > into __init or __initdata should be a hard error.
> We could let modpost error out. Then the module does not get build but
> we detect it a bit later than optimal.
> 

Well, it doesn't have anything to do with modules per-se.  When vmlinux is
post-processed we want to error out if vmlinux is exporting any
__init/__initdata symbols to modules.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux