2010/6/13 Roland McGrath rol...@redhat.com:
Thanks for your interest in utrace.
It's correct that passing UTRACE_REPORT to utrace_control should
always ensure you get some report_* callback before the tracee returns
to user mode.
However, I think your use may be susceptible to a race
You should use linux/wait.h or similar facilities rather than calling
schedule() and wake_up_process() directly. This doesn't have anything to
do with utrace, it's just the clean practice for normal kinds of blocking
in the kernel, for a variety of reasons. That has to do with how your
control