Re: [PATCH x86_64] Live Patching Function on 2.6.11.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 : [email protected]


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux