cvs commit: src/sys/kern kern_kinfo.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 17 16:32:04 PDT 2007


dillon      2007/10/17 16:30:32 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_kinfo.c 
  Log:
  Fix a race between exit and kinfo_proc.  proc->p_pgrp and the related
  session info can wind up being NULL if kinfo_proc catches the process while
  it is trying to exit.
  
  Reported-by: Peter Avalos <pavalos at theshell.com>
  
  Revision  Changes    Path
  1.15      +22 -10    src/sys/kern/kern_kinfo.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_kinfo.c.diff?r1=1.14&r2=1.15&f=u





More information about the Commits mailing list