[lkml]   [2011]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PTRACE_DETACH without stop [Re: [PATCH 04/11] ptrace: implement PTRACE_INTERRUPT]
On Mon, May 16, 2011 at 02:08:22PM +0200, Jan Kratochvil wrote:
> > Nope. What userland is currently dealing with isn't that type of
> > conditions. It's dealing with nasty side effects of implied and
> > required signals, which will be removed with the new interface.
> They won't as there will be new INTERRUPT event and when one wants to trap it
> one has to deal with various signals coming before or after it.

I'd rather lean toward handling it properly from userland. Strictly
defining trap order is too fragile. I think the right thing to do
here is properly documenting how to recognize and handle different
types of traps.



 \ /
  Last update: 2011-05-16 14:27    [W:0.084 / U:7.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site