Re: ptrace single-stepping change breaks Wine

Daniel Jacobowitz
2004-12-31T05:38:45Z

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