jhb 9481e259bb Don't emit a spurious EVFILT_PROC event with no fflags set on process exit
if NOTE_EXIT is not being monitored.  The rationale is that a listener
should only get an event for exit() if they registered interest via
NOTE_EXIT.  This matches the behavior on OS X.
- Don't save the exit status on process exit unless NOTE_EXIT is being
  monitored.
- Add an internal EV_DROP flag that requests kqueue_scan() to free the
  knote without signalling it to userland and use this when a process
  exits but the fflags in the knote is zero.

Reviewed by:	jmg
MFC after:	1 month
2013-08-07 19:56:35 +00:00
..
2013-05-01 22:42:42 +00:00
2013-08-05 08:55:35 +00:00
2013-06-08 13:30:13 +00:00
2013-03-04 12:20:48 +00:00
2013-02-02 14:19:50 +00:00
2013-08-07 07:22:56 +00:00
2012-11-14 10:33:12 +00:00
2013-07-15 01:32:55 +00:00
2013-06-29 04:35:04 +00:00
2013-05-01 22:42:42 +00:00
2013-08-05 08:55:35 +00:00
2013-06-08 13:30:13 +00:00
2013-06-08 13:30:13 +00:00
2013-03-02 00:53:12 +00:00
MFC
2013-02-21 21:59:35 +00:00
2013-06-29 05:05:57 +00:00