diff options
author | jhb <jhb@FreeBSD.org> | 2016-08-19 20:17:57 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-08-19 20:17:57 +0000 |
commit | 55e600d7fb35ccff5c2a024b2f3392ba31cf48ab (patch) | |
tree | cbecbc986582be3d6cd89eaffbb67fb7f39cc6c5 /libexec/atf | |
parent | 434d74d442c17b75001187964603fd65517dc77c (diff) | |
download | FreeBSD-src-55e600d7fb35ccff5c2a024b2f3392ba31cf48ab.zip FreeBSD-src-55e600d7fb35ccff5c2a024b2f3392ba31cf48ab.tar.gz |
MFC 303001: Add PTRACE_VFORK to trace vfork events.
First, PL_FLAG_FORKED events now also set a PL_FLAG_VFORKED flag when
the new child was created via vfork() rather than fork(). Second, a
new PL_FLAG_VFORK_DONE event can now be enabled via the PTRACE_VFORK
event mask. This new stop is reported after the vfork parent resumes
due to the child calling exit or exec. Debuggers can use this stop to
reinsert breakpoints in the vfork parent process before it resumes.
Diffstat (limited to 'libexec/atf')
0 files changed, 0 insertions, 0 deletions