This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/14808] vfork, follow-fork child, detach-on-fork on, child execs, parent changes executable too (but should not)
- From: "donbreazeal at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 01 May 2014 21:16:51 +0000
- Subject: [Bug gdb/14808] vfork, follow-fork child, detach-on-fork on, child execs, parent changes executable too (but should not)
- Auto-submitted: auto-generated
- References: <bug-14808-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14808
--- Comment #2 from Don Breazeal <donbreazeal at gmail dot com> ---
There's a relevant comment in linux-nat.c:linux_child_follow_fork, right after
the parent is detached:
else if (detach_fork)
target_detach (NULL, 0);
/* Note that the detach above makes PARENT_INF dangling. */
--
You are receiving this mail because:
You are on the CC list for the bug.