kernel - Filter out unknown errors for select(2) and poll(2)
authorSamuel J. Greear <sjg@thesjg.com>
Mon, 2 Aug 2010 13:10:05 +0000 (13:10 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Mon, 2 Aug 2010 13:10:05 +0000 (13:10 +0000)
commit22690e509129dd695f679346b2df0b89c5295be8
tree0cd5d2f6629dd6e452e58fbbcc6f44eda6cf1882
parent41cf5266ef48f9872e14b8d5707530a54161f3d5
kernel - Filter out unknown errors for select(2) and poll(2)

* select/poll have very limited error management, silently ignore anything they
  cannot handle (this brings us closer in line with the previous
  implementation).

* Add a couple of kern.nseldebug kprintf's

* Increment the kqueue serial by the number of descriptors for both select
  and poll.
sys/kern/sys_generic.c