From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22539 invoked by alias); 7 Mar 2004 23:30:02 -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 22522 invoked from network); 7 Mar 2004 23:30:00 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 7 Mar 2004 23:30:00 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.11/8.12.10) with ESMTP id i27NThf9028576; Sun, 7 Mar 2004 15:29:43 -0800 Message-ID: <404BB067.1030309@redhat.com> Date: Sun, 07 Mar 2004 23:30:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040307 MIME-Version: 1.0 To: Andreas Schwab CC: libc-hacker@sources.redhat.com Subject: Re: getpid/vfork broken References: In-Reply-To: X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-03/txt/msg00015.txt.bz2 Andreas Schwab wrote: > getpid does not return the correct result after vfork: It doesn't have to. You are not allowed to call anything but _exit or one of the exec functions. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖