Re: LKPK (Live Kernel Patching Kit)

Krzysztof G. Baranowski (
Tue, 28 Jul 1998 15:45:52 +0200 (CEST)

Hi Adam,

>I think it is insmod which,rightly, complains that it can't
>find the variable which is not being exported.
When I wanted to use the function that was not exported by the kernel,
I resolved the address by hand. The only requirement was that the
address of the variable/function must have been defined in the Some sort of:

--- cut ---
struct module* (*find_module)() = (void *) 0x00115c28;

int init_module(void)
struct module *mod;

mod = find_module("foo");
--- cut ---

If I remebmer correctly DosEMU folks written the insmod that was
doing the same thing (ie. resolving the offending addresses from HTH.


Krzysztof G. Baranowski - President of the Harmless Manyacs' Club
"Smith & Wesson - The original point and click interface..."                 <>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at