cvs commit: src/sys/kern kern_proc.c subr_prf.c src/sys/sys proc.h

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 17 00:44:42 PST 2005


phk         2005-03-17 08:44:41 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_proc.c subr_prf.c 
    sys/sys              proc.h 
  Log:
  In stange circumstances we may end up being the last reference to a
  session in tprintf().   SESSRELE() needs to properly dispose of the
  sessions mutex.
  
  Add sessrele() which does the proper cleanup and have SESSRELE() call it.
  
  Use SESSRELE also in pgdelete().
  
  Found by:       Coverity (ID:526)
  
  Revision  Changes    Path
  1.227     +17 -10    src/sys/kern/kern_proc.c
  1.114     +1 -4      src/sys/kern/subr_prf.c
  1.421     +3 -4      src/sys/sys/proc.h


More information about the cvs-src mailing list