Re: Inserting modules w/o version check

Richard B. Johnson (root@chaos.analogic.com)
Tue, 9 Apr 2002 12:48:10 -0400 (EDT)


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/