Re: [PATCH x86_64] Live Patching Function on 2.6.11.7

Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
2005-04-18T10:59:58Z

Takashi Ikebe <ikebe.takashi@lab.ntt.co.jp> wrote:

> 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....

You'll have to do that anyway, since you'll need to atomically store two
machine words. At least you'll have to lock access to the corresponding
memory page(s).
--
Error, no keyboard -- press F1 to continue.

Friß, Spammer: 6pr@pPQ.7eggert.dyndns.org root@qe23.biz
antisemitic@7frying.com Harvardizes@rewardsrx.com Mavis@miedcbbj.info