From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 379 invoked by alias); 10 Mar 2004 16:56:42 -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 362 invoked from network); 10 Mar 2004 16:56:41 -0000 Received: from unknown (HELO palrel11.hp.com) (156.153.255.246) by sources.redhat.com with SMTP; 10 Mar 2004 16:56:41 -0000 Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by palrel11.hp.com (Postfix) with ESMTP id 74CEC1C0085F; Wed, 10 Mar 2004 08:38:18 -0800 (PST) Received: from napali.hpl.hp.com (napali.hpl.hp.com [15.4.89.123]) by hplms2.hpl.hp.com (8.12.10/8.12.10/HPL-PA Hub) with ESMTP id i2AGcC7u025334; Wed, 10 Mar 2004 08:38:13 -0800 (PST) Received: from napali.hpl.hp.com (napali [127.0.0.1]) by napali.hpl.hp.com (8.12.11/8.12.11/Debian-1) with ESMTP id i2AGcCuw001213; Wed, 10 Mar 2004 08:38:12 -0800 Received: (from davidm@localhost) by napali.hpl.hp.com (8.12.11/8.12.11/Debian-1) id i2AGcCOv001209; Wed, 10 Mar 2004 08:38:12 -0800 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16463.17524.280448.143159@napali.hpl.hp.com> Date: Wed, 10 Mar 2004 16:56:00 -0000 To: Andreas Schwab Cc: Jakub Jelinek , Ulrich Drepper , Glibc hackers Subject: Re: [PATCH] getpid/vfork/raise fix In-Reply-To: References: <404BDA36.6000202@redhat.com> <200403080237.i282bXG6004322@magilla.sf.frob.com> <20040308110105.GN3822@sunsite.ms.mff.cuni.cz> <404D76CA.4010500@redhat.com> <20040309115038.GO3822@sunsite.ms.mff.cuni.cz> <20040310101515.GS3822@sunsite.ms.mff.cuni.cz> Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ X-SW-Source: 2004-03/txt/msg00049.txt.bz2 >>>>> On Wed, 10 Mar 2004 15:33:05 +0100, Andreas Schwab said: Andreas> That doesn't seem to work, though. I'm getting p3 != p4 in Andreas> the posix vfork tests. Or do you see any error in my Andreas> implementation? Most scratch registers are _not_ preserved across system calls. You could spill the register onto the memory stack though. If it uses at most 16 bytes, you won't have to adjust the stack pointer even. --david