[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: changeset: Make forced module loading optional
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?


 \ /
  Last update: 2008-05-05 06:57    [W:0.032 / U:2.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site