Re: Seeking OK to commit KSE MIII

[ Available lists | Index of freebsd-current | Month of May 2002 | Week of 29 May 2002 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Poul-Henning Kamp <phk@critter.freebsd.dk>
Date
29 May 2002 10:42:51
Subject
Re: Seeking OK to commit KSE MIII
Message-ID
430.1022694008@critter.freebsd.dk

In reply to
Replies

[ Hide this part ]
In message <XFMail.20020529124710.jhb@FreeBSD.org>, 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



Elapsed time: 0.175 seconds