commit | a68096576afc07e51d33b49c432d658b27a7f13c | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Nov 10 17:14:58 2008 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Nov 10 17:14:58 2008 +0000 |
tree | 789e1620c858be1664bcf2bd3bf7411e1646580f | |
parent | 14256a7d2634f40f67ccbf73e163d022f5268d55 [diff] |
2008-09-29 Dmitry V. Levin <ldv@altlinux.org> * strace.c (startup_child): Save child pid for future use. (main): Exit/kill ourself with straced child's exitcode/signal. (trace): If signalled process pid matches the saved child pid, save the signal number. If terminated process pid matches the saved child pid, save its exit status. Patch from Denys Vlasenko <dvlasenk@redhat.com>