r24502: More work to get LOCAL-EVENT passing on all platforms:
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Aug 2007 05:21:05 +0000 (05:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:02:02 +0000 (15:02 -0500)
commitfb1e1eebdae740a2b66ee1ea9e1e35f21292ac14
tree6454e156d81d64e044f839e4557104bdb640d121
parentdeefefeadfc4c5c3448ac378e1910fb75df0dc77
r24502: More work to get LOCAL-EVENT passing on all platforms:

- Make the epoll_event_context_init() call fail if epoll_create() fails.

  This should cause this backend to be skipped on host with epoll() in
  libc but not in the kernel.

- At the moment, there is no sensible way to handle failures to add an
  epoll() event, and 'fallback to select' is misnamed (so we now
  abort()).

Andrew Bartlett
source/lib/events/events_epoll.c
source/torture/local/event.c