cvs commit: src/sys/kern kern_exec.c src/sys/i386/i386 machdep.c

Matthew Dillon dillon at
Tue Aug 19 21:47:19 PDT 2003

dillon      2003/08/19 21:44:55 PDT

  Modified files:
    sys/kern             kern_exec.c 
    sys/i386/i386        machdep.c 
  Linux needs %edx to be 0 on entry.  It registers it as an atexit function if
  it isn't NULL.  I thought I had maintained this but I forgot that the
  syscall exit code is loaded into %eax,%edx after an execve().  This fixes the
  Revision  Changes    Path
  1.10      +7 -0      src/sys/kern/kern_exec.c
  1.33      +2 -1      src/sys/i386/i386/machdep.c

More information about the Commits mailing list