In message <[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED] | 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message