Re: [patch] really-ptrace-single-step
From: Davide Libenzi
Date: Tue May 11 2004 - 12:41:47 EST
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
-
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/