| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Approved by: kib (mentor)
MFC after: 2 weeks
|
|
|
|
| |
Approved by: kib (mentor)
|
|
|
|
|
|
| |
Found by: codespell
Reviewed by: alfred
MFC after: 1 week
|
|
|
|
| |
Reviewed by: alfred@
|
|
|
|
|
| |
PR: 139825
Submitted by: Ruslan Mahmatkhanov
|
|
|
|
|
|
|
|
| |
is nsyscalls.
PR: bin/134916
Submitted by: Steven Hartland <steven hartland multiplay co uk>
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Reviewed by: alfred
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix logic handling execve(). We will not be able to
obtain information otherwise.
- truss coredump [1].
- truss does not work against itself [2].
PR: bin/58970 [1], bin/45193 [2]
Submitted by: Howard Su
Approved by: re (kensmith)
|
|
|
|
|
|
|
|
| |
yet another need of an available /proc/ mount.
Tested with: make universe
Submitted by: howardsu
Reviewed by: alfred
|
|
|
|
| |
Approved by: alfred
|
|
|
|
| |
Approved by: alfred
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
result buffer, so we need to format it ourselves. The problem is
that the length is stored as the return value from readlink, so we
need to pass the return value from our syscall into print_arg.
Motivated by: truss garbage on my screen from reading /etc/malloc.conf.
|
|
|
|
| |
Submitted by: Liam J. Foy
|
|
It seems to work in my limited tests.
|