public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Inserting modules w/o version check
@ 2002-04-09 16:37 Mathew, Tisson K
  2002-04-09 16:48 ` Richard B. Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mathew, Tisson K @ 2002-04-09 16:37 UTC (permalink / raw)
  To: linux-kernel

All ,

Can we enforce no version check for modules when they are inserted ( insmod
) ? If yes , can this be implemented in the module itself ?

Thanks in advance 
-tm

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Inserting modules w/o version check
@ 2002-04-09 17:00 Mathew, Tisson K
  0 siblings, 0 replies; 5+ messages in thread
From: Mathew, Tisson K @ 2002-04-09 17:00 UTC (permalink / raw)
  To: 'root@chaos.analogic.com'; +Cc: linux-kernel

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.

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

end of thread, other threads:[~2002-04-10  6:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-09 16:37 Inserting modules w/o version check Mathew, Tisson K
2002-04-09 16:48 ` Richard B. Johnson
2002-04-09 17:01 ` Arjan van de Ven
2002-04-10  6:53 ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2002-04-09 17:00 Mathew, Tisson K

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