ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/src/trunk/usr.bin/truss
Revision 8682 - Directory Listing - [select for diffs]
Modified Sun Sep 25 22:01:54 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 8144
truss: if file requested with -o flazg could not be opened print the reason

Revision 8144 - Directory Listing - [select for diffs]
Modified Fri Sep 16 22:14:07 2016 UTC (7 years, 7 months ago) by laffer1
Diff to previous 6515
- Use pid_t type instead of just int.

- Put arguments for print_syscall_ret() function in proper order.
  Bug was introduced in r192025.

- Remove unused variables.
- Fix warnings about comparing signed and unsigned ints.

- Style(9) cleanup.

- Remove unused variables.
- Remove redundant return after err(3) call.

- Fix detaching under some circumstances.

  When truss is detaching from very active process it is possible to
  hang on waitpid(2) in restore_proc() forever, because
  ptrace(PT_SYSCALL) must be called before detaching, to allow the
  debugging process to continue execution.  Also when truss called with
  '-c' argument, it does not print anything after detach, because it
  immediately exits from restore_proc().

  To fix these two problems make detaching deferred, but then it is
  impossible to detach from a process which does not do any system call.
  To fix this issue use sigaction(2) instead of signal(3) to disable
  SA_RESTART flag for waitpid(2) that makes it non-restartable.  Remove
  global variable child_pid, because now detaching is handled in context
  where child's pid is known.

- Make truss thread-aware.

Revision 6515 - Directory Listing - [select for diffs]
Modified Fri Dec 20 23:32:25 2013 UTC (10 years, 4 months ago) by laffer1
Diff to previous 6425
drop cvs2svn prop

Revision 6425 - Directory Listing - [select for diffs]
Modified Sat Nov 30 22:34:04 2013 UTC (10 years, 5 months ago) by laffer1
Diff to previous 5719
reset props for svn keywords

Revision 5719 - Directory Listing - [select for diffs]
Modified Thu Jan 24 14:00:53 2013 UTC (11 years, 3 months ago) by laffer1
Diff to previous 5362
remove ppc

Revision 5362 - Directory Listing - [select for diffs]
Modified Fri Nov 23 01:16:22 2012 UTC (11 years, 5 months ago) by laffer1
Diff to previous 3992
Sync with FreeBSD 9 stable

Revision 3992 - Directory Listing - [select for diffs]
Modified Thu Jun 23 00:23:33 2011 UTC (12 years, 10 months ago) by laffer1
Diff to previous 3991
fix a bug with linux & truss with descendantsof linux proccess.

Revision 3991 - Directory Listing - [select for diffs]
Modified Thu Jun 23 00:21:32 2011 UTC (12 years, 10 months ago) by laffer1
Diff to previous 3
sync with freebsd 7.0

Revision 3 - Directory Listing - [select for diffs]
Added Sat Feb 25 02:29:52 2006 UTC (18 years, 2 months ago) by laffer1
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.

Convenience Links