From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19967 invoked by alias); 7 Dec 2009 20:28:23 -0000 Received: (qmail 19958 invoked by uid 22791); 7 Dec 2009 20:28:22 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Dec 2009 20:28:20 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB7KSB3A010433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Dec 2009 15:28:11 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB7KSAru007461; Mon, 7 Dec 2009 15:28:10 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id nB7KS965001713; Mon, 7 Dec 2009 15:28:10 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 45BD93782A2; Mon, 7 Dec 2009 13:28:09 -0700 (MST) From: Tom Tromey To: DJ Delorie Cc: dje@google.com (Doug Evans), gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org Subject: Re: [RFA] save/restore environ in libiberty pex_unix_exec_child References: <20091207172641.398198456F@ruffy.mtv.corp.google.com> <200912072009.nB7K9moj000406__858.220636337315$1260216617$gmane$org@greed.delorie.com> Reply-To: tromey@redhat.com Date: Mon, 07 Dec 2009 20:28:00 -0000 In-Reply-To: <200912072009.nB7K9moj000406__858.220636337315$1260216617$gmane$org@greed.delorie.com> (DJ Delorie's message of "Mon, 7 Dec 2009 15:09:48 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00094.txt.bz2 >>>>> "DJ" == DJ Delorie writes: DJ> If the child assignment truly clobbers the parent, won't the parent's DJ> assignment clobber the child? During a vfork, the parent is suspended until the child execs or dies. So, this assignment won't affect the child. Tom