cvs commit: src/sys/kern kern_exec.c src/sys/vm vm_map.c vm_map.h

Matthew Dillon dillon at
Fri Mar 12 15:09:52 PST 2004

dillon      2004/03/12 15:09:37 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_exec.c 
    sys/vm               vm_map.c vm_map.h 
  In an rfork'd or vfork'd situation where multiple processes are sharing
  the same vmspace, and one process goes zombie, the vmspace's vm_exitingcnt
  will be non-zero.  If another process then forks or execs the exitingcnt will
  be improperly inherited by the new vmspace.  The solution is to not copy
  exitingcnt when copying to a new vmspace.
  Additionally, for DragonFly, I also had to fix a few cases where the upcall
  list was also being improperly inherited.
  Heads-up-by: Xin LI <delphij at xxxxxxxxxxxxx>
  Obtained-From: Peter Wemm <peter at xxxxxxxx> (FreeBSD-5)
  Revision  Changes    Path
  1.21      +6 -1      src/sys/kern/kern_exec.c
  1.23      +12 -4     src/sys/vm/vm_map.c
  1.13      +1 -0      src/sys/vm/vm_map.h

More information about the Commits mailing list