Re: ptrace single-stepping change breaks Wine

From: Daniel Jacobowitz
Date: Fri Dec 31 2004 - 00:40:08 EST


On Thu, Dec 30, 2004 at 09:05:01PM -0800, Linus Torvalds wrote:
>
>
> On Thu, 30 Dec 2004, Jesse Allen wrote:
> >
> > Well I tried this patch and it works.
>
> Goodie. Are there other known problems with silly copy-protection
> schemes? It migth be worth testing.
>
> However:
>
> > Since I cannot spot any issue, the patch looks good. Are there any
> > other test cases?
>
> Yes. It seems I broke "strace" with it. Probably the difference in system
> call trace reporting that Dan Jacobowitz already pointed out.
>
> Now, that should be easily handled by just separating out the cases of
> system call tracing and debug trap handling, and using the old silly code
> for system calls. I'd prefer a cleaner approach, but that seems to be the
> sane thing to do for now.

Strace doesn't use PTRACE_SETOPTIONS as far as I can tell... so it must
be something different.

--
Daniel Jacobowitz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/