On 21/02/07, Tzahi Fadida <[EMAIL PROTECTED]> wrote:

Hi,
Is it possible to replace a function in the kernel (using a module)
without
recompiling. This function is an exported function. Basically i wish to
extend a functionality of a function (without asking for a stub at this
point). Specifically the function void submit_bio(int rw, struct bio *bio)
in /block/ll_rw_blk.c


Memco used to do such stuff in their product (not that I was exposed to its
internals). I think what they did was to simply stick jump instructions to
the new function version in the beginning of the code of the old function.

It's dirty but they sold the company for 9 figures based on this code...:)

--Amos

Reply via email to