[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFLxGvwu8-ii7hDbDfco3JrgKgOK+hsdTN_Q--AHbom0Ni8WYA@mail.gmail.com>
Date: Tue, 31 Jul 2012 12:08:22 +0200
From: richard -rw- weinberger <richard.weinberger@...il.com>
To: Pavel Emelyanov <xemul@...allels.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"lwn@....net" <lwn@....net>, "criu@...nvz.org" <criu@...nvz.org>,
"users@...nvz.org" <users@...nvz.org>,
Containers <containers@...ts.linux-foundation.org>,
cgroups mailinglist <cgroups@...r.kernel.org>,
gorcunov@...nvz.org
Subject: Re: [Announce] Checkpoint-restore tool v0.1
On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov <xemul@...allels.com> wrote:
>> Yeah, but I fear it's not that easy.
>> We'd have to change crtools to work without ptrace().
>
> Well, this is hard. Using ptrace saved us from having many special-purpose
> APIs for dumping various stuff (there will be an article about it). Thus I
> don't know which way is simpler -- stop using ptrace or teach ptrece to allow
> several tracers to attach to one task %)
Allowing multiple tracers in a safe way is IMHO even more harder.
BTW: While reading prctl_set_mm() I noticed two things.
1. Why isn't the return value of find_vma() verified?
It looks like one can set an addr which does not belong to any vma.
2. What will happen if addr is not page aligned?
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists