kernel - Fix poll return values in the presence of filter errors
authorSamuel J. Greear <sjg@thesjg.com>
Mon, 26 Jul 2010 03:30:02 +0000 (03:30 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Mon, 26 Jul 2010 03:30:02 +0000 (03:30 +0000)
commit3c2a46a72173571a1a17b6c95ff0f380a4aaea31
tree66f069b1c8f487cf2fc6c90a37f9a9e5fc9ba9ae
parent42f8bf99057b0768b5d35f1a50b2af5919f2422b
kernel - Fix poll return values in the presence of filter errors

* Ensure processing of all incoming descriptors in kern_kevent.

* Poll may register up to 3 filters for each descriptor, never increment
  the poll return value by more than 1 in the case of multiple filters
  returning in error.
sys/kern/kern_event.c
sys/kern/sys_generic.c