Searched hist:241162 (Results 1 - 16 of 16) sorted by relevance

/freebsd-9.3-release/usr.bin/truss/
H A Dmips-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dpowerpc-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dpowerpc64-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dtruss.hdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Damd64-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dextern.hdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dsparc64-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Damd64-linux32.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Di386-linux.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dia64-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dsetup.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dsyscall.hdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Damd64-fbsd32.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Di386-fbsd.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dmain.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)
H A Dsyscalls.cdiff 241162 Wed Oct 03 12:41:12 MDT 2012 zont MFC r239501:
- Use pid_t type instead of just int.

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

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

MFC r240005:
- Style(9) cleanup.

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

MFC r240393:
- 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.

MFC r240562:
- Make truss thread-aware.

Approved by: kib (mentor)

Completed in 177 milliseconds