Linux needs %edx to be 0 on entry. It registers it as an atexit function if
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 20 Aug 2003 07:13:30 +0000 (07:13 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 20 Aug 2003 07:13:30 +0000 (07:13 +0000)
commitbbe56cc085c80c75e24b5ea8f6b58e796f558e51
tree3261da380061a43527de63dc838285b463091699
parentc0510e9a0318de6af03c50e4ed773a15b4461676
Linux needs %edx to be 0 on entry.  It registers it as an atexit function if
it isn't NULL.  Note: if execve() fails the original contents of %edx
should be maintained.

This commit contains fixes for ibcs2, sysv, and linux's execve functions.
The main execve() function has already been fixed.
sys/emulation/ibcs2/i386/ibcs2_misc.c
sys/emulation/linux/i386/linux_machdep.c
sys/emulation/svr4/svr4_misc.c