mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ashutosh Naik <ashutosh.lkml@gmail.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Jesper Juhl <jesper.juhl@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	nagendra_tomar@adaptec.com
Subject: Re: Over-riding symbols in the Kernel causes Kernel Panic
Date: Wed, 30 Nov 2005 19:30:46 +0530	[thread overview]
Message-ID: <c216304e0511300600q2d25eae1oca9bc0eb2d5df4a3@mail.gmail.com> (raw)
In-Reply-To: <4384BE3A.6060505@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

  reply	other threads:[~2005-11-30 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23 14:10 Ashutosh Naik
2005-11-23 14:22 ` linux-os (Dick Johnson)
2005-11-23 17:46 ` Bill Davidsen
2005-11-23 18:04   ` Jesper Juhl
2005-11-23 19:08     ` Bill Davidsen
2005-11-30 14:00       ` Ashutosh Naik [this message]
2005-11-23 21:07     ` Grant Coady
2005-11-23 21:21       ` Jesper Juhl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c216304e0511300600q2d25eae1oca9bc0eb2d5df4a3@mail.gmail.com \
    --to=ashutosh.lkml@gmail.com \
    --cc=davidsen@tmr.com \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nagendra_tomar@adaptec.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®