[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: hot patching



On Mon, Mar 26, 2001 at 12:30:19PM +0530, Pratap Chakravarthy wrote:
> Oh i am really sorry to confuse you. What i meant is as follows

I think I'm reading you just fine. The suggestion was to make everything
into a module, including the "debugged" function. Only a small percentage
of the code would be irreplacable that way.

However, if you feel the need to be macho (like Linus says - real men
use cat as their editor :), you can try opening /dev/mem, seek to the
right offsets  and write your kernel image there. But you'll have to
do symbol relocations yourself. It's much better to use the runtime
kernel linker (the one insmod uses).

	-Arun