Module needs to lookup its own symbols at runtime.

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

 



I have a kernel loadable module that needs to be able to lookup its own symbols at runtime. I.e., given a string that represents the name of the symbol, the module needs to find the address. Preferably, this should work for symbols that are not marked 'EXPORT_SYMBOL' as well as those that are. I used to be able to do this by calling parse_symbol() that's part of kdb, but now my module is required to run without depending on kdb.

Is there an API that provides this functionality? Otherwise, any hints about how to proceed would be helpful.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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