[PATCH] exit/kill ourself with straced child's exitcode/signal

Denys Vlasenko dvlasenk at redhat.com
Tue Dec 9 14:16:16 UTC 2008


On Tue, 2008-12-09 at 01:51 -0800, Roland McGrath wrote:
> That is fine enough I guess.  But please document the new behavior clearly
> in the man page.

Dmitry (I think) already applied this patch).

I am committing the following addition to manpage:

DESCRIPTION
    In the simplest case strace runs the specified command until it  exits.
    It  intercepts  and records the system calls which are called by a pro-
    cess and the signals which are received by a process.  The name of each
    system call, its arguments and its return value are printed on standard
    error or to the file specified with the -o option. When straced program
                                                       ^^^^^^^^^^^^^^^^^^^^
    exits, strace makes exit status available to strace's parent process.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    ...

Yell if you want it phrased differently.
--
vda






More information about the Strace-devel mailing list