RE: Inserting modules w/o version check

Mathew, Tisson K (tisson.k.mathew@intel.com)
Tue, 9 Apr 2002 10:00:27 -0700


Thanks Dick

-----Original Message-----
From: Richard B. Johnson [mailto:root@chaos.analogic.com]
Sent: Tuesday, April 09, 2002 9:48 AM
To: Mathew, Tisson K
Cc: linux-kernel@vger.kernel.org
Subject: Re: Inserting modules w/o version check

On Tue, 9 Apr 2002, Mathew, Tisson K wrote:

> All ,
>
> Can we enforce no version check for modules when they are inserted (
> insmod

insmod -f module.o
|_______________ force loading

> ) ? If yes , can this be implemented in the module itself ?
>

No. `insmod` wouldn't load it so the module doesn't get a chance to "check"
anything.

> Thanks in advance

Also, note that `struct file_operations` has different member- locations for
different kernel versions. Even if the module loaded, you might end up with
'read' being 'seek', etc. Bad idea.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/