Re: [patch] really-ptrace-single-step

Davide Libenzi
2004-05-11T17:40:33Z

On Tue, 11 May 2004, Fabiano Ramos wrote:

> It would not work against 2.6.5, since
>
> do_syscall_trace()
>
> makes the check
>
> if (!test_thread_flag(TIF_SYSCALL_TRACE))
> return;
>
> Simply removing it would do?

No no. You need to OR it with the single-step. Try:

if (!test_thread_flag(TIF_SYSCALL_TRACE) &&
!test_thread_flag(TIF_SINGLESTEP))
return;

- Davide