Re: truss issue

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Mon, 15 Dec 2003 13:13:58 -0800 (PST)
On 15 Dec, Doug White wrote:

> My reading of it is that it is truss hitting itself with the same signal
> that killed the process that it was tracing so that truss will exit
> showing that it was killed by a signal. So this is actually implementing
> the requested functionality.  Processes that exit due to a signal don't
> return an exit code.  It seems keyed on 'sigexit' whatever that is.

Hmn, I wonder if it would be cleaner to exec() the executable to be
traced in the parent process and run truss in the child ...
Received on Mon Dec 15 2003 - 12:14:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:34 UTC