Bruce Evans
c69d844294
Include <sys/time.h> for the declaration of struct timeval. Do not
...
depend on namespace pollution in <signal.h>. (truss shouldn't be
using timevals anyway, since it was implemented long after timevals
were obsoleted by timespecs.)
2002-08-04 10:57:41 +00:00
Matthew N. Dodd
9897b20356
Add options to print the argument and environment string parameters to
...
execve().
This could be done in a more general manner but it still wouldn't
be very pretty.
MFC after: 3 weeks
2002-08-04 02:24:21 +00:00
Matthew N. Dodd
88a6987d40
Terminate the output line when a non-returning syscall is printed.
2002-08-04 01:28:13 +00:00
Matthew N. Dodd
c03bfcc871
Allow tracking fork()ed children.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 01:02:52 +00:00
Matthew N. Dodd
ec0bed25ba
Parameterize globals.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 00:46:48 +00:00
Mark Murray
bfc3d86a24
s/inline/__inline/
2002-07-19 13:49:37 +00:00
Mark Murray
1be5d70444
Partial WARNS=1 fizes with NO_WERROR set to prevent world breakage.
...
Use __FBSDID().
2001-12-11 23:34:02 +00:00
Dag-Erling Smørgrav
6b9c8e04f9
Print the correct return code for successful Linux syscalls.
...
Submitted by: Vitezslav Novy <vita@fio.cz>
PR: 32036
MFC after: 1 week
2001-11-17 17:18:36 +00:00
Dag-Erling Smørgrav
580e0a2b7a
#include <sys/proc.h> where needed (for the stop event definitions) and
...
reorder includes everywhere to conform to style(9).
2001-10-22 02:02:00 +00:00
Sean Eric Fagan
6cb533fe1c
Change the output of truss to more closely resemble SysV's. (Yes, it
...
really is much nicer looking.)
Submitted by: "Matthew N. Dodd" <winter@jurai.net>
2000-03-18 08:49:41 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Bruce Evans
22694ebad5
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
Sean Eric Fagan
e46b99366d
Revert the changes yet again, after some email from Bruce. Sorry.
1998-01-09 09:31:42 +00:00
Sean Eric Fagan
19db2a3c0b
Proper way to do the previous mis-commit. Still not quite right, because
...
some header files (e.g., <err.h>) include <machine/something.h>, and this
will not pick up the right header files, so it may be removed eventually
anyway. But some people who are not willing to build the right way
apparantly want this, so this is for them.
1998-01-09 00:39:10 +00:00
Philippe Charnier
3cf51049e0
Sort Xrefs. Use err(3). Remove uneeded #include.
...
Correct usage: one of {-p pid, command} is required.
Open output file when command line is fully analyzed: incorrect `truss -o f'
command does not create an empty file anymore.
1998-01-05 07:30:26 +00:00
Sean Eric Fagan
09d64da3a4
Add some copyright and license terms, at Jordan's request. Note that
...
syscall.h just refers to another file for the copyright notice.
1997-12-20 18:40:43 +00:00
Sean Eric Fagan
bbeaf6c0c9
Truss program. Requires procfs.
1997-12-06 05:23:12 +00:00