[cgl_discussion] Re: [PATCH i386] Live Patching Function on
ikebe.takashi at lab.ntt.co.jp
Mon May 9 21:59:55 PDT 2005
Corey Minyard wrote:
> Takashi Ikebe wrote:
>> Well, would you tell us how you implement this if possible?
>> I think there are need some momentums to get the execution privilege
>> from process's main context( such as signal handler, invoke thread
>> and listen socket) to load the patch module dynamically.
>> How your implementation get the execution privilege without changing
>> exiting code?
> You *really* need to understand how the dynamic loader works. But you
> can create a library with an init section that runs when the library
> is loaded. If the library is pre-loaded, then it will run before the
I mean that who loads the library(patch module) to the target process
during target process is running.
I see that you linked "patcher" to init section.
BTW how does the patcher receive the load/activate operation from
administrator? (threaded socket?)
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 at lab.ntt.co.jp
More information about the cgl_discussion