lkml.org 
[lkml]   [1998]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fix for strange name module loading requests
Regis Duchesne wrote:
> I'm pretty new to kernel debugging, thanks for the idea (even if it
> goes without saying, it always goes better when it is said :)
>
> Stupid question from beginners like me :
> "How to force an oops in kernel code?"
> Answer for the record : just try to write something at address 0.
>
> Anyway, with Bill's valuable advice, I tracked down that bug : the
> 2.1.79 patch (net/ipv4/af_inet.c) allowed the device to handle every ioctl
> call that the INET socket can not handle itself. This revealed a weakness
> of dev_ioctl(), which does not look at the ioctl _before_ assuming that
> it can handle it, and it can load the adequate device module.
>
> Here is the fix (against 2.1.82) for these horrible things :
> Jan 27 10:30:43 Celine modprobe: can't locate module X!^O@^X-
> Jan 27 10:30:43 Celine modprobe: can't locate module ^D

Good tracking! I'm sure everyone will be glad to get rid of the bogus module
messages ...

Regards,
Bill

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.215 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site