mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: no version magic, tainting kernel.
Date: Mon, 27 Jan 2003 00:33:27 +1100	[thread overview]
Message-ID: <31273.1043588007@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Sun, 26 Jan 2003 14:29:23 BST." <20030126132923.GB396@kugai>

On Sun, 26 Jan 2003 14:29:23 +0100, 
Christian Zander <zander@minion.de> wrote:
>The new module
>is thus built using gcc 3.0, but init/vermagic.o still indicates gcc
>2.95; the module loader will erroneously believe everything is fine.

Congratulations, you have put your finger on a major design flaw in
modversions that has been there since 2.0 kernel days.  The modversion
data is generated once and everything else blindly uses it, with _NO_
checks on whether it is still valid or not.  Rusty knows damn well that
this is broken, but appears to be ignoring that fact (Rusty, see my
mail to you and Alan Cox on Wed, 24 Oct 2001 14:14:18 +1000).

See http://unc.dl.sourceforge.net/sourceforge/kbuild/kbuild-2.5-history.tar.bz2,
in particular makefile-2.5_whereto.html.  modversions relies on
assumptions that are not valid and therefore modversions are broken, as
noted by Christian Zander and others.

To do module versioning right needs global information about this
definitions and usage of exported symbols.  It was one of the reasons
that kbuild 2.5 had a global database, in order to track symbol usage
and handle ABI versioning correctly.


  reply	other threads:[~2003-01-26 13:24 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 13:59 Thomas Schlichter
2003-01-23 16:29 ` Randy.Dunlap
2003-01-23 16:52 ` Sam Ravnborg
2003-01-23 17:32   ` Thomas Schlichter
2003-01-23 18:22     ` Sam Ravnborg
2003-01-23 19:35       ` Mark Fasheh
2003-01-26 13:29         ` Christian Zander
2003-01-26 13:33           ` Keith Owens [this message]
2003-01-26 18:02             ` Kai Germaschewski
2003-01-26 17:51           ` Kai Germaschewski
2003-01-26 21:57             ` Christian Zander
2003-01-26 21:46               ` Kai Germaschewski
2003-01-26 22:55                 ` David Woodhouse
2003-01-26 23:16                   ` David Woodhouse
2003-01-27  0:24                     ` Christian Zander
2003-01-27 16:25                     ` Kai Germaschewski
2003-01-27 16:29                       ` David Woodhouse
2003-01-27 16:39                         ` Kai Germaschewski
2003-01-27  0:07                   ` Christian Zander
2003-01-26 23:12                 ` Christian Zander
2003-01-27  6:17                 ` Petr Vandrovec
2003-01-27  9:02                 ` David Woodhouse
2003-01-27  9:24                   ` Petr Vandrovec
2003-01-27 17:59                 ` Joel Becker
2003-01-27 18:31                   ` Kai Germaschewski
2003-01-27 22:15                     ` Joel Becker
2003-01-27 23:08                       ` Kai Germaschewski
2003-01-27 23:37                         ` Joel Becker
2003-01-28 15:43                     ` David Woodhouse
2003-01-28 17:03                       ` Joel Becker
2003-01-26 22:23               ` Christian Zander
2003-01-26 17:43         ` Kai Germaschewski
2003-01-26 21:40           ` David Woodhouse
2003-01-26 22:46             ` David Woodhouse
2003-01-26 23:04               ` David Woodhouse
2003-01-26 23:56               ` Christian Zander
2003-01-26 23:28             ` Christian Zander
2003-01-26 22:08           ` Christian Zander
2003-01-26 21:29             ` Sam Ravnborg
2003-01-26 23:03               ` Christian Zander
2003-01-28  1:58         ` Rusty Russell
2003-01-28 19:10           ` Mark Fasheh
2003-01-28 19:17             ` Kai Germaschewski
2003-01-27 18:52 ` Jerry Cooperstein
2003-01-27 19:12   ` Sam Ravnborg
2003-01-27 19:35     ` Jerry Cooperstein
2003-01-27 19:54   ` Gerd Knorr

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=31273.1043588007@ocs3.intra.ocs.com.au \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /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®