summaryrefslogtreecommitdiffstats
path: root/libexec/atf
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-08-19 20:17:57 +0000
committerjhb <jhb@FreeBSD.org>2016-08-19 20:17:57 +0000
commit55e600d7fb35ccff5c2a024b2f3392ba31cf48ab (patch)
treecbecbc986582be3d6cd89eaffbb67fb7f39cc6c5 /libexec/atf
parent434d74d442c17b75001187964603fd65517dc77c (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud