Revision tags: release/8.4.0, release/9.1.0 |
|
#
e477abf7 |
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC @ r241285
|
#
a10c6f55 |
| 11-Nov-2012 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r242684
|
#
23090366 |
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
#
5695afde |
| 16-Sep-2012 |
Andrey Zonov <zont@FreeBSD.org> |
- Make truss thread-aware.
Approved by: kib (mentor) MFC after: 2 weeks
|
#
896fc463 |
| 12-Sep-2012 |
Andrey Zonov <zont@FreeBSD.org> |
- 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 ca
- 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.
Reported by: mjg Tested by: mjg, swills Approved by: kib (mentor) MFC after: 2 weeks
show more ...
|
#
310da894 |
| 11-Sep-2012 |
Andrey Zonov <zont@FreeBSD.org> |
- Remove unused variables. - Remove redundant return after err(3) call.
Approved by: kib (mentor)
|
#
24bf3585 |
| 04-Sep-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r233826 through r240095.
|
#
94355cfd |
| 02-Sep-2012 |
Andrey Zonov <zont@FreeBSD.org> |
- Style(9) cleanup.
Approved by: kib (mentor)
|
#
be305c9c |
| 21-Aug-2012 |
Andrey Zonov <zont@FreeBSD.org> |
- Use pid_t type instead of just int.
Approved by: kib (mentor)
|
Revision tags: release/8.3.0_cvs, release/8.3.0 |
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
80dbff4e |
| 04-Jan-2012 |
Sean Bruno <sbruno@FreeBSD.org> |
IFC to head to catch up the bhyve branch
Approved by: grehan@
|
Revision tags: release/9.0.0 |
|
#
97695ad4 |
| 04-Dec-2011 |
Konstantin Belousov <kib@FreeBSD.org> |
Use explicit information from the kernel to detect the traps due to syscall entry and leave.
Based on submision by: Dan Nelson <dnelson allantgroup com> MFC after: 1 month
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
#
ad018914 |
| 15-Feb-2011 |
John Baldwin <jhb@FreeBSD.org> |
Properly check for errors from waitpid().
Submitted by: gcooper MFC after: 1 week
|
#
19fe8e84 |
| 22-Oct-2010 |
Dimitry Andric <dim@FreeBSD.org> |
Sync: merge r214077 through r214219 from ^/head.
|
#
a2995e0d |
| 20-Oct-2010 |
Ed Schouten <ed@FreeBSD.org> |
Remove setpgid() call before executing child process.
Using a separate process group here is bad, since (for example) job control in the TTY layer prevents interaction with the TTY, causing the chil
Remove setpgid() call before executing child process.
Using a separate process group here is bad, since (for example) job control in the TTY layer prevents interaction with the TTY, causing the child process to hang.
Mentioned on: current@ MFC after: 2 weeks
show more ...
|
Revision tags: release/8.1.0_cvs, release/8.1.0 |
|
#
a4bf5fb9 |
| 28-Apr-2010 |
Kirk McKusick <mckusick@FreeBSD.org> |
Update to current version of head.
|
Revision tags: release/7.3.0_cvs, release/7.3.0 |
|
#
0a6c71f8 |
| 10-Mar-2010 |
Warner Losh <imp@FreeBSD.org> |
Fix copyright spelling.
PR: 139825 Submitted by: Ruslan Mahmatkhanov
|
#
821df508 |
| 13-Dec-2009 |
Xin LI <delphij@FreeBSD.org> |
Revert most part of 200420 as requested, as more review and polish is needed.
|
#
6f2d3221 |
| 12-Dec-2009 |
Xin LI <delphij@FreeBSD.org> |
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
e7153b25 |
| 07-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
f0bcd5c3 |
| 13-Apr-2009 |
Xin LI <delphij@FreeBSD.org> |
Correct a bug where pr_data should have been assigned.
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
ef29ac7f |
| 27-Jun-2007 |
Xin LI <delphij@FreeBSD.org> |
MFp4: Bugfixes for truss(1):
- 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/5897
MFp4: Bugfixes for truss(1):
- 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)
show more ...
|
#
5d2d083c |
| 10-Apr-2007 |
Xin LI <delphij@FreeBSD.org> |
Make use of ptrace(2) instead of procfs in truss(1), eliminating yet another need of an available /proc/ mount.
Tested with: make universe Submitted by: howardsu Reviewed by: alfred
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0 |
|
#
081e5c48 |
| 15-May-2006 |
Pav Lucistnik <pav@FreeBSD.org> |
- Add decoding of kse_release, kevent, sigprocmask, unmount, socket, getrusage, rename, __getcwd, shutdown, getrlimit, setrlimit, _umtx_lock, _umtx_unlock, pathconf, truncate, ftruncate, kill
-
- Add decoding of kse_release, kevent, sigprocmask, unmount, socket, getrusage, rename, __getcwd, shutdown, getrlimit, setrlimit, _umtx_lock, _umtx_unlock, pathconf, truncate, ftruncate, kill
- Decode more arguments of open, mprot, *stat, and fcntl.
- Convert all constant-macro and bitfield decoding to lookup tables; much cleaner than previous code.
- Print the timestamp of process exit and signal reception when -d or -D are in use
- Try six times with 1/2 second delay to debug the child
PR: bin/52190 (updated) Submitted by: Dan Nelson <dnelson@allantgroup.com> Approved by: alfred
show more ...
|