From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14628 invoked by alias); 1 May 2014 21:16:53 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 14599 invoked by uid 48); 1 May 2014 21:16:52 -0000 From: "donbreazeal at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/14808] vfork, follow-fork child, detach-on-fork on, child execs, parent changes executable too (but should not) Date: Thu, 01 May 2014 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: donbreazeal at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q2/txt/msg00162.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=14808 --- Comment #2 from Don Breazeal --- 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.