Commit Graph

20 Commits

Author SHA1 Message Date
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
enami
6a6547d143 We can't access array[sizeof(array) / sizeof(array[0])]. 2004-02-27 22:48:56 +00:00
enami
1f8c4c1f20 Rototill for less confusing output, especially when multiple processes
are traced and blocking operation is involved (previously, some system
call isn't displayed or displayed as if it is issued by other process).
2004-02-26 22:00:57 +00:00
gson
924d7858aa Make ktruss compile again after recent change to kdump/setemul.h. 2003-11-19 05:20:50 +00:00
matt
8e34a1750e SYS___sigaction14 -> SYS_compat_16___sigaction14 2003-09-23 18:46:33 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
jdolecek
9fe8da698b we really don't need to print random stack garbage on the end of dump 2003-03-16 09:59:09 +00:00
jdolecek
75f054650f constify ptrace_ops[] 2003-03-16 09:44:25 +00:00
enami
dc6d9ea1fb Add more syscalls which has pathname as its first argument. 2002-06-06 10:48:49 +00:00
jdolecek
90afd0dc9d constify, remove redundant dumpfile() prototype 2000-11-13 21:36:22 +00:00
is
3b5e0e52e8 Format string cleanups 2000-10-12 19:02:17 +00:00
jdolecek
98359af3d1 Convert to use setemul() stuff from kdump. This also fixes mapping to
syscalls names in dump when programs of different emulations are executed.

While here, convert to malloc/realloc power of 2 quantities.
2000-04-10 09:42:37 +00:00
kleink
a3c6c197a2 Cast timeval members to types we know the printf conversions of. 2000-03-27 17:03:25 +00:00
sommerfeld
48e4d07088 Fix some obvious bogons; still doesn't seem to work quite right, though. 2000-01-26 14:23:41 +00:00
thorpej
2d720e5ff0 Don't truncate syscall return values on LP64 platforms. 1999-08-06 00:11:02 +00:00
enami
095b98a6ab call clearerr for the right file pointer. 1999-07-29 01:53:26 +00:00
darrenr
57c66d8b8b fix an error where we attempt to bcopy to a long's value rather than address 1999-07-28 15:38:46 +00:00
itohy
17cd5b4ec1 Fix memory-related problems.
Other problems remain, though....
1999-07-23 03:12:31 +00:00
mrg
9abab6de8b - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00
darrenr
c0090d81bf import Makefile and dump.c required for building ktruss. 1999-07-12 03:20:17 +00:00