[lkml]   [2005]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH x86_64] Live Patching Function on

Chris Wedgwood wrote:
> On Mon, Apr 18, 2005 at 12:19:54PM +0900, Takashi Ikebe wrote:
>>This patch add function called "Live patching" which is defined on
>>OSDL's carrier grade linux requiremnt definition to linux
> I;m curious as to what people decided this was a necessary
> requirement.

The requirements are comes from Network Equipment Providers, Telecom
Carriers, and Hardware Vendors,
You can see the attendee from below link;

>>The live patching allows process to patch on-line (without
>>restarting process) on i386 and x86_64 architectures, by overwriting
>>jump assembly code on entry point of functions which you want to
>>fix, to patched functions.
> Why can't you use ptrace for all this?

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...
From our experience, sometimes patches became to dozens to hundreds at
one patching, and in this case GDB based approach cause target process's
availability descent.

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 :
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-04-18 06:25    [W:0.211 / U:0.164 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site