[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinThbP-DsNu=oxfvMS6TaaJ_tBDX8rShc0zFy76@mail.gmail.com>
Date: Wed, 2 Mar 2011 11:58:16 +0100
From: Denys Vlasenko <vda.linux@...glemail.com>
To: Tejun Heo <tj@...nel.org>
Cc: Jan Kratochvil <jan.kratochvil@...hat.com>,
Oleg Nesterov <oleg@...hat.com>,
Roland McGrath <roland@...hat.com>,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org
Subject: Re: [RFC] Proposal for ptrace improvements
On Wed, Mar 2, 2011 at 8:28 AM, Tejun Heo <tj@...nel.org> wrote:
> Hello,
>
> On Tue, Mar 01, 2011 at 11:14:14PM +0100, Denys Vlasenko wrote:
>> There may be reasons to have PTRACE_SEIZE operation split like that.
>> For one, this allows debugger to do PTRACE_CONT, and later issue
>> PTRACE_INTERRUPT to stop the tracee again. PTRACE_INTERRUPT stop may
>> be better for some scenarios where debugger wants to make the stop
>> invisible to the parent, or when debugger wants to stop just one
>> thread of the process.
>
> PTRACE_SEIZE can be used like PTRACE_INTERRUPT. It works whether the
> tracee is attached or not.
Makes sense.
--
vda
--
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