Re: Over-riding symbols in the Kernel causes Kernel Panic

From: Ashutosh Naik (ashutosh.lkml_at_gmail.com)
Date: 11/30/05

  • Next message: Jesper Juhl: "Re: 3C905C-TX"
    Date:	Wed, 30 Nov 2005 19:30:46 +0530
    To: Bill Davidsen <davidsen@tmr.com>
    
    

    On 11/24/05, Bill Davidsen <davidsen@tmr.com> wrote:

    >>I've not looked at what it would take to do that, nor what measures
    >>are currently in place, *at all*, but as I see it, all it would take
    >>would be some "tag" present for each message stating if it was "build
    >>in", or "currently loaded as a module", then on each module load check
    >>the "tag" of the to-be-loaded module against the list of current
    >>in-kernel tags, then reject if already on the list.
    >>I can't see why there would be a catch...

    > It doesn't look to be quite as easy to check for built-in as to check
    > for "already loaded" without some global state tracking, and handling
    > the case where it just wasn't built at all, and may have other stuff
    > missing. Add to this not breaking existing out of tree code and the
    > implementation looks like a non-trivial exercise.

    I am currently working on a preliminary patch which addresses this
    issue. A module wont be able to load any symbol, which already exists
    in the kernel symbol table.

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


  • Next message: Jesper Juhl: "Re: 3C905C-TX"

    Relevant Pages

    • Re: [PATCH] Realtime LSM
      ... > way to set parameters. ... one can pass paremeters to the kernel on boot. ... to do when not built as a module. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Splitting kernel headers and deprecating __KERNEL__
      ... userspace headers in /usr/include have CONFIG_SMP defined or not, ... once they built on UP .. ... so atomic.h is *dangerous* for userspace to use, at least on x86. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: starting with 2.7
      ... > interesting thread, like Ingo's patches, the rc will get built and ... like the NFS problem on 2.6.8 which hit me on the first boot. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
      ... >> the flood of emails where someone thinks they built ... fixup a config option the user must set, or that all of these should be ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.13 new option timer frequency
      ... On Mon, 2005-08-29 at 18:57 +0100, Nick Warne wrote: ... > I built and installed 2.6.13 today, and oldconfig revealed the new option for ... > timer frequency. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)