Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 1996 19:45:06 -0700 (PDT)
From:      David Greenman <davidg>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/sys proc.h
Message-ID:  <199606040245.TAA07013@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

davidg      96/06/03 19:45:05

  Branch:      sys/sys   RELENG_2_1_0
  Modified:    sys/sys   proc.h
  Log:
  Implemented zpfind() which returns the struct proc * of a zombie PID.
  Used the above as part of a fix for an architectural flaw in the way that
  sysctl_doproc works. sysctl_doproc can block while traversing the proc
  lists and the state of the list may have changed during this time. The
  fix is to check that the process still exists, and if not, restart the
  loop from the beginning.
  
  Note that I don't understand how to unwind SYSCTL_OUT things in -current,
  SO SOMEBODY ELSE WILL HAVE TO IMPLEMENT THIS FIX THERE!!! (Poul?)
  
  Revision  Changes    Path
  1.17.4.1  +2 -1      src/sys/sys/proc.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606040245.TAA07013>