From owner-freebsd-current Wed May 29 10:42:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id D4F6C37C702; Wed, 29 May 2002 10:41:18 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g4THe8Ku000431; Wed, 29 May 2002 19:40:08 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: Julian Elischer , FreeBSD current users Subject: Re: Seeking OK to commit KSE MIII In-Reply-To: Your message of "Wed, 29 May 2002 12:47:10 EDT." Date: Wed, 29 May 2002 19:40:08 +0200 Message-ID: <430.1022694008@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , John Baldwin writes: >+ frame = td->td_frame; >+ frame->tf_eax = retval; /* Child returns zero */ >+ frame->tf_edx = aux; /* I dunno */ > >You could always ask about that instead of having a I dunno comment. :) >I think that we no longer use 2 return values from syscalls for FreeBSD >syscalls (I know we did for fork1() at one point, possibly still do >so that 4.x libc works ok on 5.x kernel). Linux does depend on edx being >preserved across a syscall though IIRC. We do for 64bit returns like lseek(2) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message