Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Partial WARNS=1 fizes with NO_WERROR set to prevent world breakage. | markm | 2001-12-11 | 1 | -22/+9 |
| | | | | Use __FBSDID(). | ||||
* | Back out part of previous commit: remove #include <sys/proc.h>. | des | 2001-10-22 | 1 | -1/+0 |
| | |||||
* | #include <sys/proc.h> where needed (for the stop event definitions) and | des | 2001-10-22 | 1 | -2/+5 |
| | | | | reorder includes everywhere to conform to style(9). | ||||
* | Initialize outfile in main() | peter | 2001-08-13 | 1 | -1/+2 |
| | |||||
* | Handle the case where we truss an SUGID program -- in particular, we need | sef | 2000-01-10 | 1 | -2/+9 |
| | | | | | | | | to wake up any processes waiting via PIOCWAIT on process exit, and truss needs to be more aware that a process may actually disappear while it's waiting. Reviewed by: Paul Saab <ps@yahoo-inc.com> | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Flush the output file before exiting; short-lived programs don't even fill | msmith | 1998-12-21 | 1 | -1/+2 |
| | | | | the stdio buffer. | ||||
* | Alpha support for truss. I tested this on both bento and beast (thanks, | sef | 1998-10-03 | 1 | -1/+12 |
| | | | | | Jordan, for pointing me at beast!). There should be no change for the i386 version. | ||||
* | Use a default execution type if none of the listed ones match. This | sef | 1998-09-07 | 1 | -1/+10 |
| | | | | | uses the first type listed in the array as the default type. This isn't perfect, but I thought it would be better than nothing. | ||||
* | When exiting on SIGINT, exit with signal status | cracauer | 1998-08-24 | 1 | -1/+9 |
| | |||||
* | Fixed printf format errors. | bde | 1998-07-06 | 1 | -3/+3 |
| | |||||
* | include sys so it builds on 2.2.x | jmg | 1998-01-07 | 1 | -2/+2 |
| | | | | also, fix misspelling of -1 (as EOF for getopt) | ||||
* | Sort Xrefs. Use err(3). Remove uneeded #include. | charnier | 1998-01-05 | 1 | -23/+24 |
| | | | | | | 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. | ||||
* | Add some copyright and license terms, at Jordan's request. Note that | sef | 1997-12-20 | 1 | -1/+33 |
| | | | | syscall.h just refers to another file for the copyright notice. | ||||
* | Change the ioctls for procfs around a bit; in particular, whever possible, | sef | 1997-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | change from ioctl(fd, PIOC<foo>, &i); to ioctl(fd, PIOC<foo>, i); This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and truss must be in synch for it all to work (not doing so will get errors about inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :). | ||||
* | Complain about empty command lines. | sef | 1997-12-06 | 1 | -2/+2 |
| | |||||
* | recognize "FreeBSD ELF" as an executable type | peter | 1997-12-06 | 1 | -2/+3 |
| | | | | close() takes a fd, not a char * :-) | ||||
* | #include <unistd.h> to get it to compile | peter | 1997-12-06 | 1 | -1/+2 |
| | | | | Submitted by: Andreas Klemm <andreas@klemm.gtn.com> | ||||
* | Truss program. Requires procfs. | sef | 1997-12-06 | 1 | -0/+201 |