CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/08/02 13:54:07
Modified files:
sys/sys : event.h
sys/kern : kern_exit.c kern_event.c
Log message:
Fix knote handling for exiting processes: when triggering a NOTE_EXIT
knote, remove it from the process's klist; after handling those,
remove and drop any remaining knotes from the process's klist. Ban
attaching knotes to processes that have started exiting or attaching
them via the pid of a thread other than the main thread.
ok tedu@, deraadt@