Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 1999 13:24:02 -0700 (PDT)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/ypserv yp_extern.h yp_main.c yp_server.c
Message-ID:  <199904292024.NAA20790@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       1999/04/29 13:24:02 PDT

  Modified files:
    usr.sbin/ypserv      yp_extern.h yp_main.c yp_server.c 
  Log:
  Add some extra checks to make sure that a child ypserv process doesn't
  try to fork() a child of its own, which could result in several children
  ypservs running at once. I'm still not sure exactly what leads to this
  condition, but these fixes should stop it from causing trouble. A new
  function, yp_fork() checks to see if the current process is already a
  child of the parent ypserv, and returns failure (and logs an error message)
  rather than spawning another child.
  
  Revision  Changes    Path
  1.13      +3 -1      src/usr.sbin/ypserv/yp_extern.h
  1.20      +13 -9     src/usr.sbin/ypserv/yp_main.c
  1.28      +14 -8     src/usr.sbin/ypserv/yp_server.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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