freebsd-skq/usr.bin/truss
brian 2a326134d0 Add a -s flag for the same functionality as strace. Introduce a Name
type which is a String type that has no -s limitations applied to it.
Change most Strings in the code to Names and add a few extra syscalls,
namely munmap, read, rename and symlink.  This was enough to facilitate
following file descriptor allocations in the code more easily and
getting a hint at what's being read/written from/to files.  More
syscalls should really be added.

While here, fix an off-by-one bug in the buffer truncation code and
add a fflush so that truss's output reflects the syscall that the
program is stuck in.

Sponsored by:	Sophos/Activestate
MFC after:	2 weeks
2006-01-02 08:36:25 +00:00
..
alpha-fbsd.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
amd64-fbsd32.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
amd64-fbsd.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
amd64-linux32.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
extern.h When doing the initial open of the proc via procfs, complain if we are 2005-03-27 12:53:25 +00:00
i386-fbsd.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
i386-linux.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
i386.conf
i386linux.conf
ia64-fbsd.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
main.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
Makefile For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
setup.c When doing the initial open of the proc via procfs, complain if we are 2005-03-27 12:53:25 +00:00
sparc64-fbsd.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
syscall.h Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
syscalls.c Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
truss.1 Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00
truss.h Add a -s flag for the same functionality as strace. Introduce a Name 2006-01-02 08:36:25 +00:00