DragonFly BSD
DragonFly commits List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Aug 2003 21:44:55 -0700 (PDT)

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

  Modified files:
    sys/kern             kern_exec.c 
    sys/i386/i386        machdep.c 
  Log:
  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
  problem.
  
  Revision  Changes    Path
  1.10      +7 -0      src/sys/kern/kern_exec.c
  1.33      +2 -1      src/sys/i386/i386/machdep.c




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]