supporting functions calls to lkm within kernel
i have a bunch of functions within my custom loadable module which i insert into kernel using insmod, at runtime.
i need to call these functions from within the kernel. I am passing a custom flag with the system call, if this flag is set, only then the kernel is supposed to make the custom function calls of my LKM.
However, i know this would give me kernel compilation errors, since the kernel functions wont be able to find my custom functions.
Is there a way to go around this ?
i know one way is to move my LKM into the kernel. but i need to play around with my custom LKM and insert/remove it multiple times. Is there a way i could avoid the kernel compilation everytime.
Any help/feedback on this will be very much appreciated.
Last edited by tinkle; 11-11-2012 at 01:25 PM.