[PATCH 2/4] use tracehook_finish_jctl() to clear ->stopped

Roland McGrath roland at redhat.com
Tue Jul 28 22:53:50 UTC 2009


> +	 * While in TASK_STOPPED, we can be considered safely
> +	 * stopped by utrace_do_stop(). Clear ->stopped if we
> +	 * were woken by signal.

s/signal/SIGKILL/, no?  It's not really "while in TASK_STOPPED" any more,
it's that utrace_do_stop could have changed TASK_STOPPED to TASK_TRACED.
Then the only case is that we wake up now because of SIGKILL.  
If utrace_wakeup woke us, it would have cleared ->stopped itself.


Thanks,
Roland




More information about the utrace-devel mailing list