lkml.org 
[lkml]   [2011]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Proposal for ptrace improvements
On Tue, 01 Mar 2011 23:14:14 +0100, Denys Vlasenko wrote:
> On Tue, Mar 1, 2011 at 8:06 PM, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> > Currently it is already a problem that apps did not / do not expect the first
> > waitpid after PTRACE_ATTACH may not be SIGSTOP.
>
> That's exactly why we want to add a better alternative, which doesn't
> insert that blasted SIGSTOP.

But it insteads blasted SIGTRAP (or some other signal) instead.

It would be best if such PTRACE_SEIZE (similar to PTRACE_INTERRUPT) would
guarantee the first waitpid afterwards returns the artificial signal from
PTRACE_SEIZE.


Thanks,
Jan


\
 
 \ /
  Last update: 2011-03-06 12:19    [W:0.188 / U:4.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site