I am writing 2 LKMs (there should be 2,dont ask
. One of them should be able to call another's function. I know that the LKM exports its function to symbol table, but I have no idea how to call it (besides parsing /proc/kallsyms ).
The kernel is 2.6 , so there is no publicly exported table.
LKM1 - has function yohoho();
How to make LKM2 call exported function yohoho()?