Re: struct module of an executing LKM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mohit Kalra wrote:

 > 3.  No other function is to be exported for this purpose.   I want my LKM
 > to run from any kernel; not just the one from which has exported some
 > functions / data structures.

Isn't it *neccessary* to recompile the module anyways,
when you want to use it with other kernels ?

I know, I can't even use a hello_world module on a 2.4.4
when compiled under 2.4.17. And a hello_world module doesn't
export anything ;-). I think you'll always have to recompile.


 > -mohit
 >
 > Regards,
 > Mohit Kalra

Edward


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux