Re: [PATCH x86_64] Live Patching Function on 2.6.11.7
From: Takashi Ikebe
Date: Mon Apr 18 2005 - 00:43:09 EST
Davide Libenzi wrote:
>On Mon, 2005-04-18 at 00:42 -0400, Daniel Jacobowitz wrote:
>
>
>
>>On Mon, Apr 18, 2005 at 01:19:57PM +0900, Takashi Ikebe wrote:
>>
>>
>>>GDB based approach seems not fit to our requirements. GDB(ptrace) based
>>>functions are basically need to be done when target process is stopping.
>>>In addition to that current PTRACE_PEEK/POKE* allows us to copy only a
>>>*word* size...
>>>
>>>
>>While true, this is easily fixable.
>>
>>
>
>Indeed, look at the systr_pmem_read() and systr_pmem_write() functions:
>
>http://www.xmailserver.org/sysctr.html
>
>
>
systr_pmem_read() and systr_pmem_write() just calls ptrace PTRACE_PEEKTEXT/DATA repeatedly....
In this case we need to *stop* target process whenever patch modules is loading....
It cause target process availability worse.
--
Takashi Ikebe
NTT Network Service Systems Laboratories
9-11, Midori-Cho 3-Chome Musashino-Shi,
Tokyo 180-8585 Japan
Tel : +81 422 59 4246, Fax : +81 422 60 4012
e-mail : ikebe.takashi@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/