ok mvs@
> On 21 Aug 2020, at 10:32, Martin Pieuchot <m...@openbsd.org> wrote:
>
> The kqueue-based poll(2) backend is still a WIP due to regressions in
> the kqueue layer. In the meantime should we expose EVFILT_EXCEPT to
> userland? The diff below should be enough to allow userland apps to
> use the new code paths.
>
> ok?
>
> Index: sys/event.h
> ===================================================================
> RCS file: /cvs/src/sys/sys/event.h,v
> retrieving revision 1.44
> diff -u -p -r1.44 event.h
> --- sys/event.h 22 Jun 2020 13:14:32 -0000 1.44
> +++ sys/event.h 21 Aug 2020 07:09:31 -0000
> @@ -41,7 +41,7 @@
> #define EVFILT_DEVICE (-8) /* devices */
> #define EVFILT_EXCEPT (-9) /* exceptional conditions */
>
> -#define EVFILT_SYSCOUNT 8
> +#define EVFILT_SYSCOUNT 9
>
> #define EV_SET(kevp, a, b, c, d, e, f) do { \
> struct kevent *__kevp = (kevp); \
>