cvs commit: src/sys/kern kern_event.c kern_exit.c

Olivier Houchard cognet at FreeBSD.org
Fri Nov 14 10:49:03 PST 2003


cognet      2003/11/14 10:49:02 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_event.c kern_exit.c 
  Log:
  Better fix than my previous commit:
  in exit1(), make sure the p_klist is empty after sending NOTE_EXIT.
  The process won't report fork() or execve() and won't be able to handle
  NOTE_SIGNAL knotes anyway.
  This fixes some race conditions with do_tdsignal() calling knote() while
  the process is exiting.
  
  Reported by:    Stefan Farfeleder <stefan at fafoe.narf.at>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.65      +2 -8      src/sys/kern/kern_event.c
  1.218     +7 -0      src/sys/kern/kern_exit.c


More information about the cvs-src mailing list