Public bug reported:

Binary package hint: linux-image-2.6.17-7-generic

testcase at http://xzrq.net/epollfd.c -- compile, run under strace
Broken:
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
epoll_wait(3, 

Working:
select(4, [3], NULL, NULL, NULL

When I pass an epoll FD to select (or poll), it is reported as readable
iff there is at least one file descriptor in the epoll set. This is
wrong -- select should block in the same way as epoll_wait does. It
_does_ work properly on 2.7.17.13 downloaded from kernel.org.

** Affects: linux-source-2.6.17 (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
select or poll on an epoll FD is broken
https://launchpad.net/bugs/59831

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to