Re: Re: [PATCH i386] Live Patching Function on 2.6.11.7
Takashi Ikebe <[email protected]> Tue, 10 May 2005 13:59:55 +0900
| Newsgroups | gmane.linux.kernel.carrier-grade |
|---|---|
| Message-ID | <[email protected]> |
--===============79937267318809935== Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit 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 > application. > 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?) -- 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] --===============79937267318809935== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ cgl_discussion mailing list [email protected] http://lists.osdl.org/mailman/listinfo/cgl_discussion --===============79937267318809935==--