From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4970 invoked by alias); 9 Mar 2004 01:28:17 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 4952 invoked from network); 9 Mar 2004 01:28:17 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.81.54.130) by sources.redhat.com with SMTP; 9 Mar 2004 01:28:17 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id C6123357B; Mon, 8 Mar 2004 17:28:15 -0800 (PST) Received: from magilla.sf.frob.com (localhost.localdomain [127.0.0.1]) by magilla.sf.frob.com (8.12.9/8.12.9) with ESMTP id i291SFOi007934; Mon, 8 Mar 2004 17:28:15 -0800 Received: (from roland@localhost) by magilla.sf.frob.com (8.12.9/8.12.9/Submit) id i291SEYg007930; Mon, 8 Mar 2004 17:28:14 -0800 Date: Tue, 09 Mar 2004 01:28:00 -0000 Message-Id: <200403090128.i291SEYg007930@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Jakub Jelinek Cc: Ulrich Drepper , Andreas Schwab , libc-hacker@sources.redhat.com Subject: Re: getpid/vfork broken In-Reply-To: Jakub Jelinek's message of Monday, 8 March 2004 12:01:05 +0100 <20040308110105.GN3822@sunsite.ms.mff.cuni.cz> X-Windows: flawed beyond belief. X-SW-Source: 2004-03/txt/msg00027.txt.bz2 In NPTL-supporting Linux kernels (2.6), I think we can just use the clone syscall with CLONE_VFORK|CLONE_CHILD_SETTID.