]> granicus.if.org Git - strace/commit
detach(): warn if we see ECHILD from waitpid
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 20 Jun 2013 10:10:21 +0000 (12:10 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Thu, 20 Jun 2013 13:34:12 +0000 (15:34 +0200)
commitfdfa47af7e05b320cc1c62fc5854ded781679917
treef963a048efac258733d889b09cdc65fee177358c
parent4a9ba989e65c12c50286a8423196236e6bac529d
detach(): warn if we see ECHILD from waitpid

* strace.c (detach): Warn if we see ECHILD from waitpid.
Explain in comments that we don't normally expect !WIFSTOPPED
either, and also that PTRACE_CONT failure isn't expected
(the "break" there is a "I'm confused, bailing out" code style)..

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
strace.c