git: kernel - Fix poll return values in the presence of filter errors
Samuel Greear
sjg at crater.dragonflybsd.org
Sun Jul 25 20:34:10 PDT 2010
commit 3c2a46a72173571a1a17b6c95ff0f380a4aaea31
Author: Samuel J. Greear <sjg at thesjg.com>
Date: Mon Jul 26 03:30:02 2010 +0000
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.
Summary of changes:
sys/kern/kern_event.c | 18 +++++++-----------
sys/kern/sys_generic.c | 19 ++++++++++++++-----
2 files changed, 21 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3c2a46a72173571a1a17b6c95ff0f380a4aaea31
--
DragonFly BSD source repository
More information about the Commits
mailing list