public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: changeset: Make forced module loading optional
@ 2008-05-05  4:55 Rusty Russell
  2008-05-05  5:05 ` Linus Torvalds
  2008-05-05  6:35 ` Jan Engelhardt
  0 siblings, 2 replies; 16+ messages in thread
From: Rusty Russell @ 2008-05-05  4:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, Jon Masters, Sam Ravnborg

Linus's recent commit said:
> The kernel module loader used to be much too happy to allow loading of
> modules for the wrong kernel version by default. For example, if you
> had MODVERSIONS enabled, but tried to load a module with no version
> info, it would happily load it and taint the kernel - whether it was
> likely to actually work or not!
...
> Especially as it happened to me by mistake (ie regular unversioned Fedora
> modules getting loaded) causing lots of strange behavior.

Hi Linus,

   I'm trying to figure out how you did this.  So fedora builds unversioned 
modules, and version (and vermagic) matched your kernel?  And you somehow 
mixed them up?

   I don't think relying on modversions is the complete answer here.  Perhaps 
we should make modules_install blow away old modules?

Cheers,
Rusty.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-05-05 19:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05  4:55 changeset: Make forced module loading optional Rusty Russell
2008-05-05  5:05 ` Linus Torvalds
2008-05-05  5:35   ` Rusty Russell
2008-05-05 17:07     ` Linus Torvalds
2008-05-05 18:42       ` Rusty Russell
2008-05-05 19:47         ` David Miller
2008-05-05  6:43   ` Jan Engelhardt
2008-05-05 14:37     ` Linus Torvalds
2008-05-05 14:50       ` Jeff Garzik
2008-05-05 15:01         ` Linus Torvalds
2008-05-05 15:08           ` Linus Torvalds
2008-05-05 15:32     ` Dave Jones
2008-05-05 15:48       ` Linus Torvalds
2008-05-05 16:01       ` Jan Engelhardt
2008-05-05 15:57         ` Alan Cox
2008-05-05  6:35 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox