diff options
author | markj <markj@FreeBSD.org> | 2013-12-27 22:30:36 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2013-12-27 22:30:36 +0000 |
commit | c911703d6097a13f755df22aa6d83f1f3fe3b386 (patch) | |
tree | 22cfb798dcf49df694bb62d4faa7cc07dd432e01 /lib/libutil/pty.c | |
parent | c8ab0690337ed12d53ad5b55b42590ba589c2291 (diff) | |
download | FreeBSD-src-c911703d6097a13f755df22aa6d83f1f3fe3b386.zip FreeBSD-src-c911703d6097a13f755df22aa6d83f1f3fe3b386.tar.gz |
MFC r257670:
Modify the libproc breakpoint add/remove functions to stop the target
process if it has not already been stopped, since this is required for
ptrace(2) to work.
libdtrace does not seem to stop target processes before trying to remove
their breakpoints, so we were previously failing to remove the breakpoint
on r_debug_state() in rtld. This was causing processes to die with SIGTRAP
if they called dlopen(3) after dtrace(1) had detached.
Diffstat (limited to 'lib/libutil/pty.c')
0 files changed, 0 insertions, 0 deletions